1. Explore
  2. »
  3. Hibernate Core
  4. »
  5. org.hibernate.impl

org.hibernate.impl errorsHibernate Core

Top patterns

  1. Missing mapping
    No solution
  2. SessionImpl.getEntityPersister() has thrown a MappingException
    No solution
  3. Session is closed

    After a transaction session is closed, use openSession instead of getCurrentSession to get the session.

Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Missing mapping

org.hibernate.MappingException
org.hibernate.impl.SessionFactoryImpl.getEntityPersister
109Web pages
MappingExceptionSessionFactoryImpl.getEntityPersister109

SessionImpl.getEntityPersister() has thrown a MappingException

org.hibernate.MappingException
1 frames hidden
org.hibernate.impl.SessionImpl.getEntityPersister
75Web pages
MappingExceptionSessionImpl.getEntityPersister75

Session is closed

org.hibernate.SessionException
org.hibernate.impl.AbstractSessionImpl.errorIfClosed
65Web pages
1Solution
SessionExceptionAbstractSessionImpl.errorIfClosed65

SessionImpl.flush() has thrown a StaleStateException

org.hibernate.StaleStateException
9 frames hidden
org.hibernate.impl.SessionImpl.flush
62Web pages
StaleStateExceptionSessionImpl.flush62

SessionFactoryImpl.getCurrentSession() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.impl.SessionFactoryImpl.getCurrentSession
60Web pages
HibernateExceptionSessionFactoryImpl.getCurrentSession60

SessionImpl.flush() has thrown a StaleObjectStateException

org.hibernate.StaleObjectStateException
10 frames hidden
org.hibernate.impl.SessionImpl.flush
53Web pages
StaleObjectStateExceptionSessionImpl.flush53

AbstractSessionImpl.createQuery() has thrown a QuerySyntaxException

org.hibernate.hql.ast.QuerySyntaxException
17 frames hidden
org.hibernate.impl.AbstractSessionImpl.createQuery
44Web pages
QuerySyntaxExceptionAbstractSessionImpl.createQuery44

SessionImpl.createQuery() has thrown a QuerySyntaxException

org.hibernate.hql.ast.QuerySyntaxException
18 frames hidden
org.hibernate.impl.SessionImpl.createQuery
42Web pages
QuerySyntaxExceptionSessionImpl.createQuery42

SessionImpl.managedFlush() has thrown a StaleObjectStateException

org.hibernate.StaleObjectStateException
11 frames hidden
org.hibernate.impl.SessionImpl.managedFlush
42Web pages
StaleObjectStateExceptionSessionImpl.managedFlush42

SessionImpl.managedFlush() has thrown a StaleStateException

org.hibernate.StaleStateException
10 frames hidden
org.hibernate.impl.SessionImpl.managedFlush
42Web pages
StaleStateExceptionSessionImpl.managedFlush42

Hibernate session context is not set

org.hibernate.HibernateException
org.hibernate.impl.SessionFactoryImpl.getCurrentSession
42Web pages
HibernateExceptionSessionFactoryImpl.getCurrentSession42

SessionImpl.flush() has thrown an AssertionFailure

org.hibernate.AssertionFailure
6 frames hidden
org.hibernate.impl.SessionImpl.flush
39Web pages
AssertionFailureSessionImpl.flush39

SessionImpl.save() has thrown a MappingException

org.hibernate.MappingException
10 frames hidden
org.hibernate.impl.SessionImpl.save
39Web pages
MappingExceptionSessionImpl.save39

SessionImpl.flush() has thrown a ConstraintViolationException

org.hibernate.exception.ConstraintViolationException
7 frames hidden
org.hibernate.impl.SessionImpl.flush
36Web pages
ConstraintViolationExceptionSessionImpl.flush36

SessionImpl.createQuery() has thrown a QuerySyntaxException

org.hibernate.hql.ast.QuerySyntaxException
11 frames hidden
org.hibernate.impl.SessionImpl.createQuery
31Web pages
QuerySyntaxExceptionSessionImpl.createQuery31

No record was found with the specified id

org.hibernate.ObjectNotFoundException
org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound
28Web pages
1Solution
ObjectNotFoundExceptionSessionFactoryImpl$1.handleEntityNotFound28

SessionImpl.saveOrUpdate() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
6 frames hidden
org.hibernate.impl.SessionImpl.saveOrUpdate
28Web pages
NonUniqueObjectExceptionSessionImpl.saveOrUpdate28

SessionImpl.flush() has thrown a StaleStateException

org.hibernate.StaleStateException
8 frames hidden
org.hibernate.impl.SessionImpl.flush
27Web pages
StaleStateExceptionSessionImpl.flush27

HQL syntax error while setting parameters

org.hibernate.QueryException
org.hibernate.impl.AbstractQueryImpl.verifyParameters
26Web pages
QueryExceptionAbstractQueryImpl.verifyParameters26

AbstractSessionImpl.createQuery() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
8 frames hidden
org.hibernate.impl.AbstractSessionImpl.createQuery
26Web pages
IllegalArgumentExceptionAbstractSessionImpl.createQuery26

SQLQueryImpl.list() has thrown a MappingException

org.hibernate.MappingException
15 frames hidden
org.hibernate.impl.SQLQueryImpl.list
24Web pages
MappingExceptionSQLQueryImpl.list24

AbstractQueryImpl.uniqueElement() has thrown a NonUniqueResultException

org.hibernate.NonUniqueResultException
org.hibernate.impl.AbstractQueryImpl.uniqueElement
24Web pages
NonUniqueResultExceptionAbstractQueryImpl.uniqueElement24

SessionImpl.createQuery() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
9 frames hidden
org.hibernate.impl.SessionImpl.createQuery
23Web pages
IllegalArgumentExceptionSessionImpl.createQuery23

SessionImpl.managedFlush() has thrown an AssertionFailure

org.hibernate.AssertionFailure
7 frames hidden
org.hibernate.impl.SessionImpl.managedFlush
22Web pages
AssertionFailureSessionImpl.managedFlush22

SessionFactoryImpl$2.handleEntityNotFound() has thrown an ObjectNotFoundException

org.hibernate.ObjectNotFoundException
org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound
21Web pages
ObjectNotFoundExceptionSessionFactoryImpl$2.handleEntityNotFound21

AbstractSessionImpl.getHQLQueryPlan() has thrown a QuerySyntaxException

org.hibernate.hql.ast.QuerySyntaxException
9 frames hidden
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan
21Web pages
QuerySyntaxExceptionAbstractSessionImpl.getHQLQueryPlan21

SessionImpl.managedFlush() has thrown a ConstraintViolationException

org.hibernate.exception.ConstraintViolationException
8 frames hidden
org.hibernate.impl.SessionImpl.managedFlush
20Web pages
ConstraintViolationExceptionSessionImpl.managedFlush20

SessionImpl.fireLoad() has thrown a MappingException

org.hibernate.MappingException
2 frames hidden
org.hibernate.impl.SessionImpl.fireLoad
20Web pages
MappingExceptionSessionImpl.fireLoad20

SessionImpl.persist() has thrown a PersistentObjectException

org.hibernate.PersistentObjectException
4 frames hidden
org.hibernate.impl.SessionImpl.persist
18Web pages
PersistentObjectExceptionSessionImpl.persist18

SessionImpl.flush() has thrown a HibernateException

org.hibernate.HibernateException
6 frames hidden
org.hibernate.impl.SessionImpl.flush
18Web pages
HibernateExceptionSessionImpl.flush18

SessionFactoryObjectFactory.addInstance() has thrown a NoInitialContextException

javax.naming.NoInitialContextException
5 frames hidden
org.hibernate.impl.SessionFactoryObjectFactory.addInstance
18Web pages
NoInitialContextExceptionSessionFactoryObjectFactory.addInstance18

SessionImpl.flush() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
8 frames hidden
org.hibernate.impl.SessionImpl.flush
17Web pages
GenericJDBCExceptionSessionImpl.flush17

SessionImpl.fireLoad() has thrown an ObjectNotFoundException

org.hibernate.ObjectNotFoundException
4 frames hidden
org.hibernate.impl.SessionImpl.fireLoad
16Web pages
ObjectNotFoundExceptionSessionImpl.fireLoad16

SessionImpl.createQuery() has thrown a QueryException

org.hibernate.QueryException
18 frames hidden
org.hibernate.impl.SessionImpl.createQuery
16Web pages
QueryExceptionSessionImpl.createQuery16

SessionImpl.beginTransaction() has thrown a JDBCConnectionException

java.sql.SQLException
11 frames hidden
org.hibernate.impl.SessionImpl.beginTransaction
15Web pages
JDBCConnectionExceptionSessionImpl.beginTransaction15

QueryImpl.list() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
10 frames hidden
org.hibernate.impl.QueryImpl.list
15Web pages
GenericJDBCExceptionQueryImpl.list15

SessionImpl.get() has thrown a MappingException

org.hibernate.MappingException
3 frames hidden
org.hibernate.impl.SessionImpl.get
15Web pages
MappingExceptionSessionImpl.get15

AbstractQueryImpl.verifyParameters() has thrown a QueryException

org.hibernate.QueryException
1 frames hidden
org.hibernate.impl.AbstractQueryImpl.verifyParameters
15Web pages
QueryExceptionAbstractQueryImpl.verifyParameters15

SessionImpl.autoFlushIfRequired() has thrown an AssertionFailure

org.hibernate.AssertionFailure
6 frames hidden
org.hibernate.impl.SessionImpl.autoFlushIfRequired
15Web pages
AssertionFailureSessionImpl.autoFlushIfRequired15

QueryImpl.list() has thrown a QueryException

org.hibernate.QueryException
2 frames hidden
org.hibernate.impl.QueryImpl.list
14Web pages
QueryExceptionQueryImpl.list14

SessionImpl.createQuery() has thrown a QuerySyntaxException

org.hibernate.hql.ast.QuerySyntaxException
11 frames hidden
org.hibernate.impl.SessionImpl.createQuery
14Web pages
QuerySyntaxExceptionSessionImpl.createQuery14

SessionImpl.get() has thrown a MappingException

org.hibernate.MappingException
4 frames hidden
org.hibernate.impl.SessionImpl.get
14Web pages
MappingExceptionSessionImpl.get14

SessionImpl.saveOrUpdate() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
7 frames hidden
org.hibernate.impl.SessionImpl.saveOrUpdate
14Web pages
NonUniqueObjectExceptionSessionImpl.saveOrUpdate14

SessionImpl.saveOrUpdate() has thrown a MappingException

org.hibernate.MappingException
8 frames hidden
org.hibernate.impl.SessionImpl.saveOrUpdate
14Web pages
MappingExceptionSessionImpl.saveOrUpdate14

SessionImpl.delete() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
4 frames hidden
org.hibernate.impl.SessionImpl.delete
13Web pages
IllegalArgumentExceptionSessionImpl.delete13

SessionImpl.flush() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
11 frames hidden
org.hibernate.impl.SessionImpl.flush
13Web pages
GenericJDBCExceptionSessionImpl.flush13

AbstractQueryImpl.determineType() has thrown a QueryParameterException

org.hibernate.QueryParameterException
2 frames hidden
org.hibernate.impl.AbstractQueryImpl.determineType
13Web pages
QueryParameterExceptionAbstractQueryImpl.determineType13

SessionFactoryImpl.getCurrentSession() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.impl.SessionFactoryImpl.getCurrentSession
13Web pages
HibernateExceptionSessionFactoryImpl.getCurrentSession13

SessionImpl.list() has thrown an AssertionFailure

org.hibernate.AssertionFailure
7 frames hidden
org.hibernate.impl.SessionImpl.list
13Web pages
AssertionFailureSessionImpl.list13

AbstractQueryImpl.uniqueResult() has thrown a NonUniqueResultException

org.hibernate.NonUniqueResultException
1 frames hidden
org.hibernate.impl.AbstractQueryImpl.uniqueResult
12Web pages
NonUniqueResultExceptionAbstractQueryImpl.uniqueResult12
Nothing to list here.
Nothing to list here.
Nothing to list here.