»»

org.hibernate.impl errorsHibernate Core

Top patterns

  1. Missing mapping
    No solution
  2. Session is closed

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

  3. Hibernate session context is not set
    No solution
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Missing mapping

org.hibernate.MappingException
org.hibernate.impl.SessionFactoryImpl.getEntityPersister
108Web pages
MappingExceptionSessionFactoryImpl.getEntityPersister108

Session is closed

org.hibernate.SessionException
org.hibernate.impl.AbstractSessionImpl.errorIfClosed
68Web pages
1Solution
SessionExceptionAbstractSessionImpl.errorIfClosed68

Hibernate session context is not set

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

No record was found with the specified id

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

HQL syntax error while setting parameters

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

AbstractQueryImpl.uniqueElement() has thrown a NonUniqueResultException

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

SessionFactoryImpl$2.handleEntityNotFound() has thrown an ObjectNotFoundException

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

SessionFactoryImpl.getCurrentSession() has thrown a HibernateException

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

AbstractQueryImpl.setParameter() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.hibernate.impl.AbstractQueryImpl.setParameter
12Web pages
IllegalArgumentExceptionAbstractQueryImpl.setParameter12

SessionImpl.getNamedQuery() has thrown a MappingException

org.hibernate.MappingException
1 frames hidden
org.hibernate.impl.SessionImpl.getNamedQuery
11Web pages
MappingExceptionSessionImpl.getNamedQuery11

SessionImpl.close() has thrown a SessionException

org.hibernate.SessionException
org.hibernate.impl.SessionImpl.close
10Web pages
SessionExceptionSessionImpl.close10

SessionImpl.fireLoad() has thrown a NullPointerException

java.lang.NullPointerException
5 frames hidden
org.hibernate.impl.SessionImpl.fireLoad
10Web pages
NullPointerExceptionSessionImpl.fireLoad10

AbstractQueryImpl.setParameter() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
3 frames hidden
org.hibernate.impl.AbstractQueryImpl.setParameter
8Web pages
IndexOutOfBoundsExceptionAbstractQueryImpl.setParameter8

SessionImpl.list() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
6 frames hidden
org.hibernate.impl.SessionImpl.list
6Web pages
GenericJDBCExceptionSessionImpl.list6

SessionFactoryImpl.openSession() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
org.hibernate.impl.SessionFactoryImpl.openSession
6Web pages
NullPointerExceptionSessionFactoryImpl.openSession6

SessionImpl.flush() has thrown an AssertionFailure

org.hibernate.AssertionFailure
6 frames hidden
org.hibernate.impl.SessionImpl.flush
5Web pages
AssertionFailureSessionImpl.flush5

SessionFactoryImpl.<init>() has thrown a JDBCException

org.hibernate.JDBCException
3 frames hidden
org.hibernate.impl.SessionFactoryImpl.<init>
4Web pages
JDBCExceptionSessionFactoryImpl.<init>4

FetchingScrollableResultsImpl.next() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
4 frames hidden
org.hibernate.impl.FetchingScrollableResultsImpl.next
4Web pages
GenericJDBCExceptionFetchingScrollableResultsImpl.next4

SessionImpl.flush() has thrown a StaleObjectStateException

org.hibernate.StaleObjectStateException
10 frames hidden
org.hibernate.impl.SessionImpl.flush
4Web pages
StaleObjectStateExceptionSessionImpl.flush4

SessionFactoryImpl.getCollectionPersister() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.impl.SessionFactoryImpl.getCollectionPersister
4Web pages
MappingExceptionSessionFactoryImpl.getCollectionPersister4

SessionImpl.load() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
4 frames hidden
org.hibernate.impl.SessionImpl.load
4Web pages
NonUniqueObjectExceptionSessionImpl.load4

SessionFactoryImpl.openSession() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
3 frames hidden
org.hibernate.impl.SessionFactoryImpl.openSession
4Web pages
NoClassDefFoundErrorSessionFactoryImpl.openSession4

SessionFactoryImpl.getCurrentSession() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.impl.SessionFactoryImpl.getCurrentSession
4Web pages
HibernateExceptionSessionFactoryImpl.getCurrentSession4

SessionImpl.flush() has thrown a ConstraintViolationException

org.hibernate.exception.ConstraintViolationException
org.hibernate.impl.SessionImpl.flush
3Web pages
ConstraintViolationExceptionSessionImpl.flush3

SessionImpl.createQuery() has thrown a QueryException

org.hibernate.QueryException
13 frames hidden
org.hibernate.impl.SessionImpl.createQuery
3Web pages
QueryExceptionSessionImpl.createQuery3

QueryImpl.executeUpate() has thrown a SQLGrammarException

java.sql.SQLException
12 frames hidden
org.hibernate.impl.QueryImpl.executeUpate
3Web pages
SQLGrammarExceptionQueryImpl.executeUpate3

SessionFactoryImpl.buildCurrentSessionContext() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
org.hibernate.impl.SessionFactoryImpl.buildCurrentSessionContext
3Web pages
NoClassDefFoundErrorSessionFactoryImpl.buildCurrentSessionContext3

SessionImpl.beginTransaction() has thrown a TransactionException

org.hibernate.TransactionException
1 frames hidden
org.hibernate.impl.SessionImpl.beginTransaction
3Web pages
TransactionExceptionSessionImpl.beginTransaction3

AbstractQueryImpl.setParameter() has thrown a HibernateException

org.hibernate.HibernateException
3 frames hidden
org.hibernate.impl.AbstractQueryImpl.setParameter
2Web pages
HibernateExceptionAbstractQueryImpl.setParameter2

SQLQueryImpl.executeUpdate() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
5 frames hidden
org.hibernate.impl.SQLQueryImpl.executeUpdate
2Web pages
GenericJDBCExceptionSQLQueryImpl.executeUpdate2

SQLQueryImpl.list() has thrown a NullPointerException

java.lang.NullPointerException
8 frames hidden
org.hibernate.impl.SQLQueryImpl.list
2Web pages
NullPointerExceptionSQLQueryImpl.list2

AbstractQueryImpl.executeUpdate() has thrown an UnsupportedOperationException

java.lang.UnsupportedOperationException
org.hibernate.impl.AbstractQueryImpl.executeUpdate
2Web pages
UnsupportedOperationExceptionAbstractQueryImpl.executeUpdate2

SessionImpl.merge() has thrown a NullPointerException

java.lang.NullPointerException
7 frames hidden
org.hibernate.impl.SessionImpl.merge
2Web pages
NullPointerExceptionSessionImpl.merge2

SessionImpl.createQuery() has thrown a NullPointerException

java.lang.NullPointerException
17 frames hidden
org.hibernate.impl.SessionImpl.createQuery
2Web pages
NullPointerExceptionSessionImpl.createQuery2

SessionFactoryImpl.getEntityPersister() has thrown a HibernateSystemException

org.springframework.orm.hibernate3.HibernateSystemException
org.hibernate.impl.SessionFactoryImpl.getEntityPersister
2Web pages
HibernateSystemExceptionSessionFactoryImpl.getEntityPersister2

SessionImpl.enableFilter() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.impl.SessionImpl.enableFilter
2Web pages
HibernateExceptionSessionImpl.enableFilter2

SQLQueryImpl.list() has thrown a NullPointerException

java.lang.NullPointerException
11 frames hidden
org.hibernate.impl.SQLQueryImpl.list
2Web pages
NullPointerExceptionSQLQueryImpl.list2

QueryImpl.executeUpate() has thrown a NullPointerException

java.lang.NullPointerException
12 frames hidden
org.hibernate.impl.QueryImpl.executeUpate
2Web pages
NullPointerExceptionQueryImpl.executeUpate2

AbstractQueryImpl.setEntity() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.hibernate.impl.AbstractQueryImpl.setEntity
2Web pages
IllegalArgumentExceptionAbstractQueryImpl.setEntity2

QueryImpl.list() has thrown a QueryExecutionRequestException

org.hibernate.hql.QueryExecutionRequestException
4 frames hidden
org.hibernate.impl.QueryImpl.list
2Web pages
QueryExecutionRequestExceptionQueryImpl.list2

SessionImpl.beginTransaction() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
org.hibernate.impl.SessionImpl.beginTransaction
2Web pages
NullPointerExceptionSessionImpl.beginTransaction2

SessionImpl.delete() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.hibernate.impl.SessionImpl.delete
1Web pages
IllegalArgumentExceptionSessionImpl.delete1

CriteriaImpl.list() has thrown a MappingException

org.hibernate.MappingException
6 frames hidden
org.hibernate.impl.CriteriaImpl.list
1Web pages
MappingExceptionCriteriaImpl.list1

SessionImpl.checkTransactionSynchStatus() has thrown a TransactionException

java.lang.UnsupportedOperationException
5 frames hidden
org.hibernate.impl.SessionImpl.checkTransactionSynchStatus
1Web pages
TransactionExceptionSessionImpl.checkTransactionSynchStatus1

SessionImpl.managedFlush() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.impl.SessionImpl.managedFlush
1Web pages
HibernateExceptionSessionImpl.managedFlush1

SessionImpl.setReadOnly() has thrown a TransientObjectException

org.hibernate.TransientObjectException
1 frames hidden
org.hibernate.impl.SessionImpl.setReadOnly
1Web pages
TransientObjectExceptionSessionImpl.setReadOnly1

SessionFactoryImpl.openSession() has thrown a CannotCreateTransactionException

org.springframework.transaction.CannotCreateTransactionException
2 frames hidden
org.hibernate.impl.SessionFactoryImpl.openSession
1Web pages
CannotCreateTransactionExceptionSessionFactoryImpl.openSession1

SessionFactoryImpl.getClassMetadata() has thrown a NullPointerException

java.lang.NullPointerException
org.hibernate.impl.SessionFactoryImpl.getClassMetadata
1Web pages
NullPointerExceptionSessionFactoryImpl.getClassMetadata1

CriteriaImpl.list() has thrown a ClassCastException

java.lang.ClassCastException
14 frames hidden
org.hibernate.impl.CriteriaImpl.list
1Web pages
ClassCastExceptionCriteriaImpl.list1

ScrollableResultsImpl.next() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
4 frames hidden
org.hibernate.impl.ScrollableResultsImpl.next
1Web pages
GenericJDBCExceptionScrollableResultsImpl.next1
Nothing to list here.
Nothing to list here.
Nothing to list here.