Unknown entity exception

  • Share
  • Share

Applies to:
Hibernate

Description:
Occurs when using @org.hibernate.annotations.Entity

Cause:
You have used @org.hibernate.annotations.Entity

JAVA-Hibernate

  1. admin
    March 20th, 2009 at 10:28 | #1

    Always import @javax.persistence.Entity
    @org.hibernate.annotations.Entity completes @javax.persistence.Entity but is not a replacement

  1. No trackbacks yet.