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

org.hibernate.engineStatefulPersistenceContext errorsHibernate Core

Top patterns

  1. Persist multiple entities with same Id

    Use saveOrUpdate for persisting entities.

    In ManyToOne , ManyToMany ,OneToMany mappings you can use CascadeType.Merge to resolve this issue.

  2. StatefulPersistenceContext.checkUniqueness() has thrown a HibernateSystemException
    No solution
  3. StatefulPersistenceContext.unproxyAndReassociate() has thrown a HibernateException
    No solution
Error patternsMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Persist multiple entities with same Id

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

StatefulPersistenceContext.checkUniqueness() has thrown a HibernateSystemException

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

StatefulPersistenceContext.unproxyAndReassociate() has thrown a HibernateException

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

StatefulPersistenceContext.clear() has thrown a NullPointerException

java.lang.NullPointerException
org.hibernate.engine.StatefulPersistenceContext.clear
3Web pages
NullPointerExceptionStatefulPersistenceContext.clear()3
Nothing to list here.
Nothing to list here.