javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory

openxava | yaizasantana | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    buscador

    openxava | 8 months ago | yaizasantana
    javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory
  2. 0

    Repeated column in mapping for entity exception when trying to use same embeddable twise

    Stack Overflow | 2 years ago
    javax.persistence.PersistenceException: [PersistenceUnit: MyClassRegister] Unable to build Hibernate SessionFactory
  3. 0

    Hibernate mapping Exception : unable to find column with logical name

    Stack Overflow | 2 years ago
    javax.persistence.PersistenceException: [PersistenceUnit: MyClassRegister] Unable to build Hibernate SessionFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to map to attributes from embedded class to a single database column with JPA?

    Stack Overflow | 1 year ago | François Dupire
    javax.persistence.PersistenceException: [PersistenceUnit: belgium-fiscal-model] Unable to build Hibernate SessionFactory
  6. 0

    Introdução a Java Server Faces - Curso Online de JSF (Java Server Faces) - Aula 1

    com.br | 1 year ago
    javax.persistence.PersistenceException: [PersistenceUnit: ProjetosJSF] Unable to build Hibernate SessionFactory
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. org.hibernate.MappingException

    Could not determine type for: java.util.Collection, at table: paciente, for columns: [org.hibernate.mapping.Column(problemas)]

    at org.hibernate.mapping.SimpleValue.getType()
  2. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:349)
    2. org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:322)
    3. org.hibernate.mapping.Property.isValid(Property.java:241)
    4. org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:496)
    5. org.hibernate.mapping.RootClass.validate(RootClass.java:270)
    6. org.hibernate.cfg.Configuration.validate(Configuration.java:1360)
    7. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1851)
    7 frames
  3. org.hibernate.jpa
    EntityManagerFactoryBuilderImpl$4.perform
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857)
    2. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850)
    2 frames
  4. org.hibernate.boot
    ClassLoaderServiceImpl.withTccl
    1. org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425)
    1 frame
  5. org.hibernate.jpa
    HibernatePersistenceProvider.createEntityManagerFactory
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849)
    2. org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:75)
    2 frames
  6. Hibernate EJB
    HibernatePersistence.createEntityManagerFactory
    1. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:54)
    1 frame
  7. JavaEE 7
    Persistence.createEntityManagerFactory
    1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
    1 frame
  8. org.openxava.jpa
    XPersistence.createManager
    1. org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:197)
    2. org.openxava.jpa.XPersistence.createManager(XPersistence.java:112)
    2 frames
  9. org.openxava.annotations
    AnnotatedClassParser.getManagedClassNames
    1. org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingJPA(AnnotatedClassParser.java:2722)
    2. org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2637)
    2 frames
  10. com.openxava.naviox
    NaviOXFilter.doFilter
    1. com.openxava.naviox.impl.Initializer.init(Initializer.java:20)
    2. com.openxava.naviox.web.NaviOXFilter.doFilter(NaviOXFilter.java:30)
    2 frames
  11. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
    10 frames
  12. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
    3 frames
  13. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames