Package | Description |
---|---|
javax.persistence |
The javax.persistence package contains the classes and interfaces that define the contracts
between a persistence provider and the managed classes and the clients of the Java Persistence API.
|
Modifier and Type | Method and Description |
---|---|
EntityManager |
EntityManagerFactory.createEntityManager()
Create a new EntityManager.
|
EntityManager |
EntityManagerFactory.createEntityManager(Map map)
Create a new EntityManager with the specified Map of
properties.
|