Problem exception :
org.hibernate.mappingexception unknown entity
Solution:
Your entity is not correctly annotated, you must use the correct annotation .Check your imports.
org.hibernate.mappingexception unknown entity
Solution:
Your entity is not correctly annotated, you must use the correct annotation .Check your imports.
Correct:
@javax.persistence.Entity .
Wrong:
@org.hibernate.annotations.entity
No comments:
Post a Comment