org.hibernate.HibernateException: Imposible crear SessionFactory de Hibernate

openxava | vagos123 | 6 years 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

    AccessTracking + MySQL

    openxava | 6 years ago | vagos123
    org.hibernate.HibernateException: Imposible crear SessionFactory de Hibernate

    Root Cause Analysis

    1. org.hibernate.HibernateException

      Imposible crear SessionFactory de Hibernate

      at org.openxava.hibernate.XHibernate.createSessionFactory()
    2. org.openxava.hibernate
      XHibernate.createSession
      1. org.openxava.hibernate.XHibernate.createSessionFactory(XHibernate.java:253)
      2. org.openxava.hibernate.XHibernate.getSessionFactory(XHibernate.java:262)
      3. org.openxava.hibernate.XHibernate.createSession(XHibernate.java:110)
      3 frames
    3. org.openxava.tracking
      AccessTrackingListener.trackReadAccess
      1. org.openxava.tracking.AccessTrackingCalculator.calculate(AccessTrackingCalculator.java:43)
      2. org.openxava.tracking.AccessTrackingListener.trackAccess(AccessTrackingListener.java:43)
      3. org.openxava.tracking.AccessTrackingListener.trackReadAccess(AccessTrackingListener.java:25)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. Hibernate EJB
      EJB3PostLoadEventListener.onPostLoad
      1. org.hibernate.ejb.event.ListenerCallback.invoke(ListenerCallback.java:31)
      2. org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:80)
      3. org.hibernate.ejb.event.EntityCallbackHandler.postLoad(EntityCallbackHandler.java:73)
      4. org.hibernate.ejb.event.EJB3PostLoadEventListener.onPostLoad(EJB3PostLoadEventListener.java:33)
      4 frames
    6. Hibernate
      AbstractEntityPersister.load
      1. org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:221)
      2. org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:877)
      3. org.hibernate.loader.Loader.doQuery(Loader.java:752)
      4. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
      5. org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
      6. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
      7. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
      8. org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
      8 frames
    7. Hibernate
      SessionImpl.get
      1. org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
      2. org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
      3. org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
      4. org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
      5. org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
      6. org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
      7. org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
      8. org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
      8 frames
    8. Hibernate EJB
      AbstractEntityManagerImpl.find
      1. org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:182)
      1 frame
    9. org.openxava.model
      MapFacade.getValues
      1. org.openxava.model.impl.JPAPersistenceProvider.find(JPAPersistenceProvider.java:26)
      2. org.openxava.model.impl.POJOPersistenceProviderBase.find(POJOPersistenceProviderBase.java:89)
      3. org.openxava.model.impl.POJOPersistenceProviderBase.find(POJOPersistenceProviderBase.java:60)
      4. org.openxava.model.impl.MapFacadeBean.findEntity(MapFacadeBean.java:1435)
      5. org.openxava.model.impl.MapFacadeBean.findEntity(MapFacadeBean.java:1566)
      6. org.openxava.model.impl.MapFacadeBean.getValuesImpl(MapFacadeBean.java:609)
      7. org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:95)
      8. org.openxava.model.MapFacade.getValues(MapFacade.java:360)
      8 frames
    10. org.openxava.actions
      SearchByViewKeyAction.execute
      1. org.openxava.actions.SearchByViewKeyAction.execute(SearchByViewKeyAction.java:51)
      1 frame
    11. org.openxava.controller
      ModuleManager.execute
      1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:374)
      2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:291)
      3. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:489)
      4. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:291)
      5. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:489)
      6. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:291)
      7. org.openxava.controller.ModuleManager.execute(ModuleManager.java:251)
      7 frames