Save This Page
Home » hibernate-entity-src-20081106 » org.hibernate » ejb » [javadoc | source]
org.hibernate.ejb
abstract public class: AbstractEntityManagerImpl [javadoc | source]
java.lang.Object
   org.hibernate.ejb.AbstractEntityManagerImpl

All Implemented Interfaces:
    HibernateEntityManagerImplementor, Serializable

Direct Known Subclasses:
    CurrentEntityManagerImpl, EntityManagerImpl

Field Summary
protected transient  TransactionImpl tx     
protected  PersistenceContextType persistenceContextType     
Constructor:
 protected AbstractEntityManagerImpl(PersistenceContextType type,
    PersistenceUnitTransactionType transactionType,
    Map properties) 
Method from org.hibernate.ejb.AbstractEntityManagerImpl Summary:
clear,   contains,   createNamedQuery,   createNativeQuery,   createNativeQuery,   createNativeQuery,   createQuery,   find,   flush,   getDelegate,   getFlushMode,   getRawSession,   getReference,   getSession,   getTransaction,   isTransactionInProgress,   joinTransaction,   lock,   markAsRollback,   merge,   persist,   postInit,   refresh,   remove,   setFlushMode,   throwPersistenceException,   throwPersistenceException,   wrapStaleStateException
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.ejb.AbstractEntityManagerImpl Detail:
 public  void clear() 
 public boolean contains(Object entity) 
 public Query createNamedQuery(String name) 
 public Query createNativeQuery(String sqlString) 
 public Query createNativeQuery(String sqlString,
    Class resultClass) 
 public Query createNativeQuery(String sqlString,
    String resultSetMapping) 
 public Query createQuery(String ejbqlString) 
 public A find(Class entityClass,
    Object primaryKey) 
 public  void flush() 
 public Object getDelegate() 
    returns the underlying session
 public FlushModeType getFlushMode() 
 abstract protected Session getRawSession()
    Return a Session (even if the entity manager is closed
 public T getReference(Class entityClass,
    Object primaryKey) 
 abstract public Session getSession()
    return a Session
 public EntityTransaction getTransaction() 
 public boolean isTransactionInProgress() 
 public  void joinTransaction() 
 public  void lock(Object entity,
    LockModeType lockMode) 
 protected  void markAsRollback() 
 public A merge(A entity) 
 public  void persist(Object entity) 
 protected  void postInit() 
 public  void refresh(Object entity) 
 public  void remove(Object entity) 
 public  void setFlushMode(FlushModeType flushModeType) 
 public  void throwPersistenceException(PersistenceException e) 
 public  void throwPersistenceException(HibernateException e) 
 public PersistenceException wrapStaleStateException(StaleStateException e)