Java javax.persistence Persistence fields, constructors, methods, implement or subclass

Example usage for Java javax.persistence Persistence fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.persistence Persistence.

The text is from its open source code.

Method

EntityManagerFactorycreateEntityManagerFactory(String persistenceUnitName)
Create and return an EntityManagerFactory for the named persistence unit.
EntityManagerFactorycreateEntityManagerFactory(String persistenceUnitName, Map properties)
Create and return an EntityManagerFactory for the named persistence unit using the given properties.
voidgenerateSchema(String persistenceUnitName, Map map)
Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties.