Example usage for Java javax.persistence Persistence fields, constructors, methods, implement or subclass
The text is from its open source code.
EntityManagerFactory | createEntityManagerFactory(String persistenceUnitName) Create and return an EntityManagerFactory for the named persistence unit. |
EntityManagerFactory | createEntityManagerFactory(String persistenceUnitName, Map properties) Create and return an EntityManagerFactory for the named persistence unit using the given properties. |
void | generateSchema(String persistenceUnitName, Map map) Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. |