java.lang.ClassCastException: org.hibernate.id.MultipleHiLoPerTableGenerator cannot be cast to org.hibernate.id.IdentifierGenerator

Oracle Community | user10112541 | 3 years ago
  1. 0

    Exception when starting JPA,Hibernate Application on WebLogic 12c

    Oracle Community | 3 years ago | user10112541
    java.lang.ClassCastException: org.hibernate.id.MultipleHiLoPerTableGenerator cannot be cast to org.hibernate.id.IdentifierGenerator
  2. 0

    Hibernate and @JoinFormula: org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column

    Stack Overflow | 3 years ago | Ben
    java.lang.ClassCastException: org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error while using @AttributeOverride in my Sub Entity class

    Stack Overflow | 3 years ago | user3607500
    java.lang.ClassCastException: org.hibernate.mapping.JoinedSubclass cannot be cast to org.hibernate.mapping.RootClass
  5. 0

    TomEE Users - Transaction Problems with OpenEJB-Hibernate on Tomcat

    nabble.com | 8 months ago
    java.lang.ClassCastException: org.apache.openejb.hibernate.TransactionManagerLookup

    4 unregistered visitors
    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.hibernate.id.MultipleHiLoPerTableGenerator cannot be cast to org.hibernate.id.IdentifierGenerator

      at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.createIdentifierGenerator()
    2. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.createIdentifierGenerator(DefaultIdentifierGeneratorFactory.java:115)
      2. org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:195)
      3. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:318)
      4. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1797)
      4 frames
    3. Hibernate EJB
      EntityManagerFactoryImpl.<init>
      1. org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96)
      1 frame