public class PhysicalEntityManagerWrapper extends Object implements com.sun.enterprise.transaction.api.SimpleResource
| Constructor and Description |
|---|
PhysicalEntityManagerWrapper(javax.persistence.EntityManager em,
javax.persistence.SynchronizationType synchronizationType) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
javax.persistence.EntityManager |
getEM()
The physical entity manager
|
javax.persistence.SynchronizationType |
getSynchronizationType()
SynchronizationType of the physical EM
|
boolean |
isOpen() |
public PhysicalEntityManagerWrapper(javax.persistence.EntityManager em,
javax.persistence.SynchronizationType synchronizationType)
public javax.persistence.EntityManager getEM()
public javax.persistence.SynchronizationType getSynchronizationType()
public boolean isOpen()
isOpen in interface com.sun.enterprise.transaction.api.SimpleResourcepublic void close()
close in interface com.sun.enterprise.transaction.api.SimpleResourceCopyright © 2017–2019 Eclipse Foundation. All rights reserved.