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

org.hibernate.engine errorsHibernate Core

Top patterns

  1. ActionQueue.executeActions() has thrown a StaleObjectStateException
    No solution
  2. Object references an unsaved transient instance

    If you reference an entity in your statement, you have to make sure that it's already saved.

    If this happens during saving an entity, you might want to cascade.

    If this happens during a query, you might want to change your query

  3. Foreign non-null entity is not saved
    No solution
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

ActionQueue.executeActions() has thrown a StaleObjectStateException

org.hibernate.StaleObjectStateException
7 frames hidden
org.hibernate.engine.ActionQueue.executeActions
70Web pages
StaleObjectStateExceptionActionQueue.executeActions()70

Object references an unsaved transient instance

org.hibernate.TransientObjectException
org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved
62Web pages
1Solution
TransientObjectExceptionForeignKeys.getEntityIdentifierIfNotUnsaved()62

Foreign non-null entity is not saved

org.hibernate.PropertyValueException
org.hibernate.engine.Nullability.checkNullability
60Web pages
PropertyValueExceptionNullability.checkNullability()60

ActionQueue.executeActions() has thrown a ConstraintViolationException

org.hibernate.exception.ConstraintViolationException
4 frames hidden
org.hibernate.engine.ActionQueue.executeActions
43Web pages
ConstraintViolationExceptionActionQueue.executeActions()43

Persist multiple entities with same Id

org.hibernate.NonUniqueObjectException
org.hibernate.engine.StatefulPersistenceContext.checkUniqueness
40Web pages
1Solution
NonUniqueObjectExceptionStatefulPersistenceContext.checkUniqueness()40

ActionQueue.executeActions() has thrown a StaleStateException

org.hibernate.StaleStateException
5 frames hidden
org.hibernate.engine.ActionQueue.executeActions
29Web pages
StaleStateExceptionActionQueue.executeActions()29

ActionQueue.executeActions() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
5 frames hidden
org.hibernate.engine.ActionQueue.executeActions
28Web pages
GenericJDBCExceptionActionQueue.executeActions()28

Collections.processReachableCollection() has thrown a HibernateException

org.hibernate.HibernateException
org.hibernate.engine.Collections.processReachableCollection
13Web pages
HibernateExceptionCollections.processReachableCollection()13

ActionQueue.execute() has thrown a ConstraintViolationException

javax.validation.ConstraintViolationException
4 frames hidden
org.hibernate.engine.ActionQueue.execute
13Web pages
ConstraintViolationExceptionActionQueue.execute()13

Cascade.cascade() has thrown a TransientObjectException

org.hibernate.TransientObjectException
1 frames hidden
org.hibernate.engine.Cascade.cascade
11Web pages
TransientObjectExceptionCascade.cascade()11

ForeignKeys.isTransient() has thrown a PropertyAccessException

java.lang.IllegalArgumentException
9 frames hidden
org.hibernate.engine.ForeignKeys.isTransient
10Web pages
PropertyAccessExceptionForeignKeys.isTransient()10

Cascade.cascadeProperty() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
10 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
10Web pages
NonUniqueObjectExceptionCascade.cascadeProperty()10

Cascade.cascadeProperty() has thrown an IdentifierGenerationException

org.hibernate.id.IdentifierGenerationException
11 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
6Web pages
IdentifierGenerationExceptionCascade.cascadeProperty()6

Cascade.cascadeProperty() has thrown a PersistentObjectException

org.hibernate.PersistentObjectException
6 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
6Web pages
PersistentObjectExceptionCascade.cascadeProperty()6

Cascade.cascade() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
15 frames hidden
org.hibernate.engine.Cascade.cascade
6Web pages
NonUniqueObjectExceptionCascade.cascade()6

EntityKey.<init>() has thrown an AssertionFailure

org.hibernate.AssertionFailure
org.hibernate.engine.EntityKey.<init>
6Web pages
AssertionFailureEntityKey.<init>()6

ActionQueue.executeActions() has thrown a SQLGrammarException

org.hibernate.exception.SQLGrammarException
4 frames hidden
org.hibernate.engine.ActionQueue.executeActions
5Web pages
SQLGrammarExceptionActionQueue.executeActions()5

Cascade.cascade() has thrown a NullPointerException

java.lang.NullPointerException
14 frames hidden
org.hibernate.engine.Cascade.cascade
5Web pages
NullPointerExceptionCascade.cascade()5

ActionQueue.executeActions() has thrown a GenericJDBCException

java.sql.BatchUpdateException
10 frames hidden
org.hibernate.engine.ActionQueue.executeActions
4Web pages
GenericJDBCExceptionActionQueue.executeActions()4

Cascade.cascade() has thrown a PersistentObjectException

org.hibernate.PersistentObjectException
7 frames hidden
org.hibernate.engine.Cascade.cascade
4Web pages
PersistentObjectExceptionCascade.cascade()4

Cascade.cascade() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
16 frames hidden
org.hibernate.engine.Cascade.cascade
4Web pages
NonUniqueObjectExceptionCascade.cascade()4

Cascade.cascadeProperty() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
25 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
4Web pages
NonUniqueObjectExceptionCascade.cascadeProperty()4

StatefulPersistenceContext.checkUniqueness() has thrown a HibernateSystemException

org.springframework.orm.hibernate3.HibernateSystemException
org.hibernate.engine.StatefulPersistenceContext.checkUniqueness
4Web pages
HibernateSystemExceptionStatefulPersistenceContext.checkUniqueness()4

EntityKey.generateHashCode() has thrown a NullPointerException

java.lang.NullPointerException
4 frames hidden
org.hibernate.engine.EntityKey.generateHashCode
4Web pages
NullPointerExceptionEntityKey.generateHashCode()4

Cascade.cascadeProperty() has thrown a TransientObjectException

org.hibernate.TransientObjectException
10 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
4Web pages
TransientObjectExceptionCascade.cascadeProperty()4

ForeignKeys.isTransient() has thrown a PropertyAccessException

org.hibernate.PropertyAccessException
4 frames hidden
org.hibernate.engine.ForeignKeys.isTransient
3Web pages
PropertyAccessExceptionForeignKeys.isTransient()3

StatefulPersistenceContext.unproxyAndReassociate() has thrown a HibernateException

org.hibernate.HibernateException
2 frames hidden
org.hibernate.engine.StatefulPersistenceContext.unproxyAndReassociate
3Web pages
HibernateExceptionStatefulPersistenceContext.unproxyAndReassociate()3

ForeignKeys.isTransient() has thrown a HibernateException

org.hibernate.HibernateException
3 frames hidden
org.hibernate.engine.ForeignKeys.isTransient
3Web pages
HibernateExceptionForeignKeys.isTransient()3

Cascade.cascade() has thrown a TransientObjectException

org.hibernate.TransientObjectException
15 frames hidden
org.hibernate.engine.Cascade.cascade
3Web pages
TransientObjectExceptionCascade.cascade()3

ActionQueue.executeActions() has thrown a GenericJDBCException

java.sql.BatchUpdateException
11 frames hidden
org.hibernate.engine.ActionQueue.executeActions
3Web pages
GenericJDBCExceptionActionQueue.executeActions()3

Nullability.checkNullability() has thrown a HibernateSystemException

org.springframework.orm.hibernate3.HibernateSystemException
org.hibernate.engine.Nullability.checkNullability
3Web pages
HibernateSystemExceptionNullability.checkNullability()3

ActionQueue.executeActions() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
3 frames hidden
org.hibernate.engine.ActionQueue.executeActions
3Web pages
IndexOutOfBoundsExceptionActionQueue.executeActions()3

StatefulPersistenceContext.clear() has thrown a NullPointerException

java.lang.NullPointerException
org.hibernate.engine.StatefulPersistenceContext.clear
3Web pages
NullPointerExceptionStatefulPersistenceContext.clear()3

Cascade.cascadeProperty() has thrown a ConstraintViolationException

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException
37 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
3Web pages
ConstraintViolationExceptionCascade.cascadeProperty()3

Cascade.cascadeProperty() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
10 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
3Web pages
NonUniqueObjectExceptionCascade.cascadeProperty()3

Cascade.cascade() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
30 frames hidden
org.hibernate.engine.Cascade.cascade
3Web pages
NonUniqueObjectExceptionCascade.cascade()3

ActionQueue.execute() has thrown a DataException

org.hibernate.exception.DataException
6 frames hidden
org.hibernate.engine.ActionQueue.execute
3Web pages
DataExceptionActionQueue.execute()3

Cascade.cascadeProperty() has thrown an ObjectDeletedException

org.hibernate.ObjectDeletedException
9 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
2Web pages
ObjectDeletedExceptionCascade.cascadeProperty()2

ActionQueue.executeActions() has thrown a TransientObjectException

org.hibernate.TransientObjectException
8 frames hidden
org.hibernate.engine.ActionQueue.executeActions
2Web pages
TransientObjectExceptionActionQueue.executeActions()2

EntityEntry.getLoadedValue() has thrown a NullPointerException

java.lang.NullPointerException
org.hibernate.engine.EntityEntry.getLoadedValue
2Web pages
NullPointerExceptionEntityEntry.getLoadedValue()2

ForeignKeys.isTransient() has thrown a PropertyAccessException

org.hibernate.PropertyAccessException
4 frames hidden
org.hibernate.engine.ForeignKeys.isTransient
2Web pages
PropertyAccessExceptionForeignKeys.isTransient()2

UnsavedValueFactory.instantiate() has thrown an InvocationTargetException

java.lang.reflect.InvocationTargetException
4 frames hidden
org.hibernate.engine.UnsavedValueFactory.instantiate
2Web pages
InvocationTargetExceptionUnsavedValueFactory.instantiate()2

Cascade.cascade() has thrown a ConstraintViolationException

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException
38 frames hidden
org.hibernate.engine.Cascade.cascade
2Web pages
ConstraintViolationExceptionCascade.cascade()2

EntityKey.<init>() has thrown a PropertyAccessException

java.lang.IllegalArgumentException
12 frames hidden
org.hibernate.engine.EntityKey.<init>
2Web pages
PropertyAccessExceptionEntityKey.<init>()2

ForeignKeys.isTransient() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
9 frames hidden
org.hibernate.engine.ForeignKeys.isTransient
2Web pages
IllegalArgumentExceptionForeignKeys.isTransient()2

ActionQueue.execute() has thrown an IllegalStateException

java.lang.IllegalStateException
10 frames hidden
org.hibernate.engine.ActionQueue.execute
2Web pages
IllegalStateExceptionActionQueue.execute()2

EntityKey.<init>() has thrown a NullPointerException

java.lang.NullPointerException
5 frames hidden
org.hibernate.engine.EntityKey.<init>
2Web pages
NullPointerExceptionEntityKey.<init>()2

Cascade.cascade() has thrown a TransientObjectException

org.hibernate.TransientObjectException
9 frames hidden
org.hibernate.engine.Cascade.cascade
2Web pages
TransientObjectExceptionCascade.cascade()2

Cascade.cascadeProperty() has thrown a NonUniqueObjectException

org.hibernate.NonUniqueObjectException
23 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
2Web pages
NonUniqueObjectExceptionCascade.cascadeProperty()2

Cascade.cascadeProperty() has thrown a PropertyValueException

org.hibernate.PropertyValueException
12 frames hidden
org.hibernate.engine.Cascade.cascadeProperty
2Web pages
PropertyValueExceptionCascade.cascadeProperty()2
Nothing to list here.
Nothing to list here.
Nothing to list here.