• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

migration from 3.5 to 4.3.5 - 'Unknown entity' error problem

 
Mark Bobick
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Migration required from 3.5 (notably hibernate3.jar) to 4.3.5. Application is simple POJOs annotated with basic JAXB (@XMLRootElement, etc). Also, simple hbm.xml and cfg.xml. Use by an unremarkable persister class to a PostgreSQL DB. OS is Fedora20. Repaired compile errors such as hibernate.org DTD location.

Error for *all* tables is "Unknown entity". Need I say, "Looks like it should work, but does not." Would appreciate a hand. Many thanks in advance. -mb

Hibernate .jar file deltas (in the classpath):
PREVIOUS:

  • antlr-2.7.6.jar
    c3p0-0.9.1.jar
    cglib-2.2.jar
    commons-collections-3.1.jar
    dom4j-1.6.1.jar
    hibernate-jpa-2.0-api-1.0.0.Final.jar
    hibernate-validator-4.0.2.GA.jar
    hibernate3.jar
    javassist-3.9.0.GA.jar
    jta-1.1.jar
    oscache-2.1.jar
    proxool-0.8.3.jar
    slf4j-api-1.5.11.jar
    slf4j-log4j12-1.5.11.jar
    swarmcache-1.0RC2.jar


  • NEW:


  • antlr-2.7.7.jar
    c3p0-0.9.2.1.jar
    hibernate-c3p0-4.3.5.Final.jar
    mchange-commons-java-0.2.3.4.jar
    commons-collections4-4.0.jar
    hibernate-commons-annotations-4.0.4.Final
    hibernate-core-4.3.5.Final.jar
    jandex-1.1.0.Final.jar
    jboss-logging-3.1.3.GA.jar
    jboss-logging-annotations-1.2.0.Beta1.jar
    jboss-transaction-api_1.2_spec-1.0.0.Final.jar
    hibernate-envers-4.3.5.Final.jar
    hibernate-entitymanager-4.3.5.Final.jar
    dom4j-1.6.1.jar
    hibernate-jpa-2.1-api-1.0.0.Final.jar
    hibernate/hibernate-validator-5.1.1.Final.jar
    hibernate-testing-4.3.5.Final.jar
    jbosscache-core.jar
    jboss-cache.jar
    ehcache-core-2.4.3.jar
    hibernate-ehcache-4.3.5.Final.jar
    hibernate-infinispan-4.3.5.Final.jar
    infinispan-commons-6.0.0.Final.jar
    infinispan-core-6.0.0.Final.jar
    javassist-3.18.1-GA.jar
    jta-1.1.jar
    oscache-2.4.1.jar


  • CONFIGURATION FILE:



    POJO:



    HBM.XML:



    PERSISTER CLASS:


    END SUBMISSION
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic