ERROR - org.hibernate.HibernateException - Possible Causes of HibernateException

Exception Thrown By:Cause
ClassMethod
AbstractEntityTuplizer public Object getVersion(Object entity) Indicates a problem
accessing the version property.
AbstractLazyInitializer public final void initialize() Indicates a
problem initializing the proxy.
AbstractLazyInitializer public final Object getImplementation(SessionImplementor s) Indicates problem
locating the target
AbstractPersistentCollection public final boolean setCurrentSession(SessionImplementor session) if the collection was
already associated with another open session.
ActionQueue public void executeInserts() error executing
queued insertion actions.
CollectionRecreateAction public void execute() Indicates a
problem during execution
ConfigHelper public static Reader getConfigStreamReader(String path) Unable to open
reader to that resource.
ConfigHelper public static Properties getConfigProperties(String path) Unable to load
properties from that resource.
CriteriaImpl public List list() Indicates a problem either
translating the criteria to SQL
CriteriaImpl public Object uniqueResult() if there is more than
one matching result.
EntityIdentityInsertAction public void execute() Indicates a
problem during execution.
EntityInsertAction public void execute() Indicates a
problem during execution.
EntityManagerFactoryRegistry public EntityManagerFactory getNamedEntityManagerFactory(String name) if entity manager factory is not found or if
more than one entity manager factory was registered with name.
EntityUpdateAction public void execute() Indicates a
problem during execution.has
FilterImpl public void validate() If the state
is not currently valid.
MultipleHiLoPerTableGenerator public String[] sqlDropStrings(Dialect dialect) problem creating
the drop command(s).
SequenceGenerator public String[] sqlCreateStrings(Dialect dialect) problem creating
the create command(s)
SequenceGenerator public String[] sqlDropStrings(Dialect dialect) problem creating
the drop command(s)
SequenceStyleGenerator public String[] sqlCreateStrings(Dialect dialect) problem creating
the create command(s)
SequenceStyleGenerator public String[] sqlDropStrings(Dialect dialect) problem creating
the drop command(s)
SessionFactoryImpl public Session openSession() Indicates a problem opening
the session; pretty rare here.
SessionFactoryImpl public Session getCurrentSession() Indicates an issue
locating a suitable current session.
SessionFactoryImpl public ClassMetadata getClassMetadata(Class persistentClass) Generally null is
returned instead of throwing.
SessionFactoryImpl public CollectionMetadata getCollectionMetadata(String roleName) Generally null is
returned instead of throwing.
SessionFactoryImpl public ClassMetadata getClassMetadata(String entityName) Generally null is
returned instead of throwing.
SessionFactoryImpl public Map getAllCollectionMetadata() Generally empty map
is returned instead of throwing.
SessionFactoryImpl public void evictEntity(String entityName)
SessionFactoryImpl public void evict(Class persistentClass)
SessionFactoryImpl public void evictCollection(String roleName)
SessionFactoryImpl public void evictQueries() Indicate a problem
communicating with underlying cache impl.
SessionFactoryImpl public void evictQueries(String regionName) Since a
not found 'cacheops
SessionFactoryImpl public FilterDefinition getFilterDefinition(String filterName) If no filter
defined with the given name
SessionFactoryStub public ClassMetadata getClassMetadata(Class persistentClass) Generally null is
returned instead of throwing.
SessionFactoryStub public ClassMetadata getClassMetadata(String entityName) Generally null is
returned instead of throwing.
SessionFactoryStub public CollectionMetadata getCollectionMetadata(String roleName) Generally null is
returned instead of throwing.
SessionFactoryStub public Map getAllCollectionMetadata() Generally empty map
is returned instead of
SessionFactoryStub public void close() Indicates an
issue closing the factory.
SessionFactoryStub public void evict(Class persistentClass)
SessionFactoryStub public void evictEntity(String entityName)
SessionFactoryStub public void evictCollection(String roleName)
SessionFactoryStub public void evictQueries() Indicate a problem
communicating with underlying cache impl.
SessionFactoryStub public void evictQueries(String cacheRegion)
SessionFactoryStub public FilterDefinition getFilterDefinition(String filterName) If no filter
defined with the given name
TableGenerator public String[] sqlCreateStrings(Dialect dialect) problem creating
the create command(s)
TableGenerator public String[] sqlDropStrings(Dialect dialect) problem creating
the drop command(s)