java.lang.ClassCastException: com.ibm.ws.persistence.EntityManagerImpl incompatible with org.hibernate.impl.SessionImpl

openxava | paulalvarez | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    OX WebSphere Portal problema de despliegue

    openxava | 7 years ago | paulalvarez
    java.lang.ClassCastException: com.ibm.ws.persistence.EntityManagerImpl incompatible with org.hibernate.impl.SessionImpl
  2. 0

    Liferay + Glassfish

    openxava | 8 years ago | achurilov
    java.lang.ClassCastException: oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl cannot be cast to org.hibernate.impl.SessionImpl

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.ibm.ws.persistence.EntityManagerImpl incompatible with org.hibernate.impl.SessionImpl

      at org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingHibernate()
    2. org.openxava.annotations
      AnnotatedClassParser.parse
      1. org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingHibernate(AnnotatedClassParser.java:2247)
      2. org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2162)
      3. org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2124)
      4. org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:56)
      4 frames
    3. org.openxava.component
      MetaComponent.get
      1. org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:46)
      2. org.openxava.component.ComponentParser.parse(ComponentParser.java:35)
      3. org.openxava.component.MetaComponent.get(MetaComponent.java:60)
      3 frames
    4. org.openxava.tab
      Tab.setModelName
      1. org.openxava.tab.Tab.getMetaTab(Tab.java:203)
      2. org.openxava.tab.Tab.getPreferences(Tab.java:843)
      3. org.openxava.tab.Tab.loadUserPreferences(Tab.java:1047)
      4. org.openxava.tab.Tab.setModelName(Tab.java:776)
      4 frames