java.lang.ClassCastException: org.springframework.orm.jpa.EntityManagerHolder cannot be cast to org.springframework.orm.hibernate5.SessionHolder

Stack Overflow | Midas | 4 months ago
  1. 0

    Spring 4 + Hibernate 5 = org.springframework.orm.jpa.EntityManagerHolder cannot be cast to org.springframework.orm.hibernate5.SessionHolder

    Stack Overflow | 4 months ago | Midas
    java.lang.ClassCastException: org.springframework.orm.jpa.EntityManagerHolder cannot be cast to org.springframework.orm.hibernate5.SessionHolder
  2. 0

    GitHub comment 1#245203653

    GitHub | 3 months ago | stephangrundner
    java.lang.ClassCastException: org.springframework.orm.hibernate4.SessionHolder cannot be cast to org.springframework.orm.hibernate5.SessionHolder
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Grails 3.2 and vaadin plugin

    GitHub | 3 months ago | kiteflo
    java.lang.ClassCastException: org.springframework.orm.hibernate4.SessionHolder cannot be cast to org.springframework.orm.hibernate5.SessionHolder

  1. Kawada 1 times, last 6 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    org.springframework.orm.jpa.EntityManagerHolder cannot be cast to org.springframework.orm.hibernate5.SessionHolder

    at org.springframework.orm.hibernate5.HibernateTransactionManager.doGetTransaction()
  2. org.springframework.orm
    HibernateTransactionManager.doGetTransaction
    1. org.springframework.orm.hibernate5.HibernateTransactionManager.doGetTransaction(HibernateTransactionManager.java:376)
    1 frame