Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. TransactionImpl.commit() has thrown a ClassCastException
    Hibernate JPA Support
    0
    0
    0
  2. SessionImpl.flush() has thrown a ClassCastException
    Hibernate Core
    0
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to org.hibernate.collection.spi.PersistentCollection
16 matching frames hidden
    at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:65)
    at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:61)
    at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:517)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)
133 frames hidden

External results for this pattern (1)

  1. Petar Tahchievvia Spring JIRA2 years ago