Interface AbstractEntityManager

All Superinterfaces:
AutoCloseable, ConfigurationHolder, EntityManager
All Known Implementing Classes:
EntityManagerImpl

public interface AbstractEntityManager extends EntityManager, ConfigurationHolder
  • Method Details

    • isLoaded

      boolean isLoaded(Object object, String attributeName)
    • isLoaded

      boolean isLoaded(Object object)
    • getCurrentPersistenceContext

      UnitOfWork getCurrentPersistenceContext()
      Return the UnitOfWork that holds the current persistence context.
      Returns:
      UnitOfWork
    • removeCurrentPersistenceContext

      void removeCurrentPersistenceContext()
      Remove the current persistence context UnitOfWork.
    • transactionStarted

      void transactionStarted(EntityTransaction t)
      Let the managing server session know that a transaction has been started.
      Parameters:
      t - The entity transaction that was started.
    • transactionFinished

      void transactionFinished(EntityTransaction t)
      Let the managing server session know that a transaction has finished successfully.
      Parameters:
      t - The committed entity transaction.