javax.persistence.PersistenceException

org.hibernate.MappingException: Could not determine type for: org.openxava.escuela.modelo.Empresa, for columns: \[org.hibernate.mapping.Column(idEmpresa)\]

Solutions on the web1950

  • org.hibernate.MappingException: Could not determine type for: org.openxava.escuela.modelo.Empresa, for columns: \[org.hibernate.mapping.Column(idEmpresa)\]
  • via Hibernate JIRA by Panagiotis Korros, 1 year ago
    org.hibernate.MappingException: Could not determine type for: test.Language, for columns: [org.hibernate.mapping.Formula( langid )]
  • via Hibernate JIRA by Panagiotis Korros, 1 year ago
    org.hibernate.MappingException: Could not determine type for: test.Language, for columns: [org.hibernate.mapping.Formula( langid )]
  • Stack trace

    • javax.persistence.PersistenceException: org.hibernate.MappingException: Could not determine type for: org.openxava.escuela.modelo.Empresa, for columns: \[org.hibernate.mapping.Column(idEmpresa)\] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:737) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:175) at org.openxava.jpa.XPersistence.createManager(XPersistence.java:102) at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:1633) at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:1601) at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.openxava.util.Objects.execute(Objects.java:193) at org.openxava.util.Objects.execute(Objects.java:112) at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:54) at org.openxava.component.ComponentParser.parse(ComponentParser.java:34) at org.openxava.component.MetaComponent.get(MetaComponent.java:60) at org.openxava.tab.Tab.getMetaTab(Tab.java:183) at org.openxava.tab.Tab.getMetaProperties(Tab.java:84)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 10 months ago
    7 times, 1 year ago
    1 more bugmates