public class PluginEntityContext extends Object implements de.xima.cmn.dao.interfaces.IBaseEntityContext, AutoCloseable, Closeable
IPluginEmManager.newEntityContext() instead.
This entity context implements AutoCloseable. Calling the close() will close the
EntityManager if
getEm(); andConnectionFilter| Constructor and Description |
|---|
PluginEntityContext(javax.persistence.EntityManagerFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
javax.persistence.EntityManager |
getEm() |
boolean |
isOpen() |
public PluginEntityContext(javax.persistence.EntityManagerFactory factory)
public javax.persistence.EntityManager getEm()
getEm in interface de.xima.cmn.dao.interfaces.IBaseEntityContextpublic boolean isOpen()
isOpen in interface de.xima.cmn.dao.interfaces.IBaseEntityContextpublic void close()
close in interface de.xima.cmn.dao.interfaces.IBaseEntityContextclose in interface Closeableclose in interface AutoCloseableCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.