public interface EntityManagerLiteFactory
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the factory, releasing any resources that it holds.
|
EntityManagerLite |
createEntityManager()
Create a new application-managed EntityManager.
|
EntityManagerLite |
createEntityManager(Map<String,Object> map)
Create a new application-managed EntityManager with the specified Map of properties.
|
Map<String,Object> |
getProperties()
Get the properties and associated values that are in effect for the entity manager factory.
|
boolean |
isOpen()
Indicates whether the factory is open.
|
void close()
IllegalStateException - if the entity manager factory has been closedEntityManagerLite createEntityManager()
IllegalStateException - if the entity manager factory has been closedEntityManagerLite createEntityManager(Map<String,Object> map)
map - properties for entity managerIllegalStateException - if the entity manager factory has been closedMap<String,Object> getProperties()
IllegalStateException - if the entity manager factory has been closedboolean isOpen()
This documentation is licensed by Andrew Bowley under the GPLv3 License.