EntityManager.
JpaTransactionManager binds instances of this class to the thread,
for a given jakarta.persistence.EntityManagerFactory .
Also serves as a base class for org.,
as of 5.1.
Note
This is an SPI class, not intended to be used by applications.
JpaTransactionManager, EntityManagerFactoryUtils
| Modifier and Type | Field and Description |
|---|---|
| private final EntityManager | |
| private SavepointManager | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides org. |
| public EntityManager | |
| protected SavepointManager | |
| protected boolean | |
| protected void | |
| protected void |
| entityManager | back to summary |
|---|---|
| private final EntityManager entityManager
| |
| savepointManager | back to summary |
|---|---|
| private SavepointManager savepointManager
| |
| transactionActive | back to summary |
|---|---|
| private boolean transactionActive | |
| EntityManagerHolder | back to summary |
|---|---|
| public EntityManagerHolder(EntityManager entityManager) | |
| clear | back to summary |
|---|---|
| public void clear() Overrides org. Doc from org. Clear the transactional state of this resource holder.
| |
| getEntityManager | back to summary |
|---|---|
| public EntityManager getEntityManager() | |
| getSavepointManager | back to summary |
|---|---|
protected SavepointManager getSavepointManager()
| |
| isTransactionActive | back to summary |
|---|---|
| protected boolean isTransactionActive() | |
| setSavepointManager | back to summary |
|---|---|
| protected void setSavepointManager(SavepointManager savepointManager) | |
| setTransactionActive | back to summary |
|---|---|
| protected void setTransactionActive(boolean transactionActive) | |