»»

org.hibernate.persister.entity errorsHibernate Core

Top patterns

  1. Two transactions concurrently modified the same entity
    No solution
  2. Property name mismatch

    In HQL queries you have to use the properties of the java class. E.g. if the entity class has property like lastName, use the same lastName in HQL , not last_name.

  3. AbstractEntityPersister.insert() has thrown a GenericJDBCException
    No solution
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Two transactions concurrently modified the same entity

org.hibernate.StaleObjectStateException
org.hibernate.persister.entity.AbstractEntityPersister.check
120Web pages
StaleObjectStateExceptionAbstractEntityPersister.check120

Property name mismatch

org.hibernate.QueryException
org.hibernate.persister.entity.AbstractPropertyMapping.propertyException
94Web pages
1Solution
QueryExceptionAbstractPropertyMapping.propertyException94

AbstractEntityPersister.insert() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
4 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.insert
18Web pages
GenericJDBCExceptionAbstractEntityPersister.insert18

AbstractEntityPersister.getPropertyValue() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.getPropertyValue
15Web pages
NullPointerExceptionAbstractEntityPersister.getPropertyValue15

AbstractPropertyMapping.toType() has thrown a QueryException

org.hibernate.QueryException
1 frames hidden
org.hibernate.persister.entity.AbstractPropertyMapping.toType
11Web pages
QueryExceptionAbstractPropertyMapping.toType11

AbstractEntityPersister.getTableId() has thrown an AssertionFailure

org.hibernate.AssertionFailure
org.hibernate.persister.entity.AbstractEntityPersister.getTableId
6Web pages
AssertionFailureAbstractEntityPersister.getTableId6

AbstractEntityPersister.updateOrInsert() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
4 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert
5Web pages
GenericJDBCExceptionAbstractEntityPersister.updateOrInsert5

JoinedSubclassEntityPersister.getTableId() has thrown an AssertionFailure

org.hibernate.AssertionFailure
org.hibernate.persister.entity.JoinedSubclassEntityPersister.getTableId
5Web pages
AssertionFailureJoinedSubclassEntityPersister.getTableId5

SingleTableEntityPersister.<init>() has thrown a MappingException

org.hibernate.MappingException
6 frames hidden
org.hibernate.persister.entity.SingleTableEntityPersister.<init>
4Web pages
MappingExceptionSingleTableEntityPersister.<init>4

AbstractEntityPersister.hydrate() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
5 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.hydrate
3Web pages
IllegalArgumentExceptionAbstractEntityPersister.hydrate3

AbstractEntityPersister.generateUpdateString() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.generateUpdateString
3Web pages
ArrayIndexOutOfBoundsExceptionAbstractEntityPersister.generateUpdateString3

AbstractEntityPersister.getSubclassEntityPersister() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister
3Web pages
HibernateExceptionAbstractEntityPersister.getSubclassEntityPersister3

AbstractEntityPersister.findDirty() has thrown a ClassCastException

java.lang.ClassCastException
6 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.findDirty
3Web pages
ClassCastExceptionAbstractEntityPersister.findDirty3

AbstractEntityPersister.postInstantiate() has thrown a MultipleBagFetchException

org.hibernate.loader.MultipleBagFetchException
13 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.postInstantiate
2Web pages
MultipleBagFetchExceptionAbstractEntityPersister.postInstantiate2

AbstractEntityPersister.toType() has thrown a QueryException

org.hibernate.QueryException
1 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.toType
2Web pages
QueryExceptionAbstractEntityPersister.toType2

AbstractEntityPersister.check() has thrown a HibernateOptimisticLockingFailureException

org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException
org.hibernate.persister.entity.AbstractEntityPersister.check
2Web pages
HibernateOptimisticLockingFailureExceptionAbstractEntityPersister.check2

AbstractEntityPersister.getIdentifier() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.getIdentifier
1Web pages
HibernateExceptionAbstractEntityPersister.getIdentifier1

AbstractEntityPersister.updateOrInsert() has thrown a GenericJDBCException

java.sql.SQLException
13 frames hidden
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert
1Web pages
GenericJDBCExceptionAbstractEntityPersister.updateOrInsert1
Nothing to list here.
Nothing to list here.
Nothing to list here.