Pattern selector

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

  1. Ejb3Configuration.buildEntityManagerFactory() has thrown a PersistenceException
    Hibernate JPA Support
    1
    0
    0
  2. DialectFactoryImpl.buildDialect() has thrown a HibernateException
    Hibernate Core
    2
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ClassCastException: org.hibernate.dialect.H2Dialect cannot be cast to org.hibernate.dialect.Dialect
13 matching frames hidden
javax.persistence.PersistenceException: Unable to build EntityManagerFactory
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
    at ru.buzzsoft.common.HibernateHelper.createEntityManagerFactory(HibernateHelper.java:180)
    at ru.buzzsoft.delivery.PersistentFactory.getEntityPersonalFactory(PersistentFactory.java:21)
29 frames hidden

External results for this pattern (2)

  1. Artem V. Navrotskiyvia Hibernate JIRA4 months ago
  2. Unknown authorvia Stack Overflow2 years ago
    [PersistenceUnit: PUname] Unable to build EntityManagerFactory
    Show stack trace