moving from JPA standard annotations to pure hibernate annotations

Mohit Sinha

Ranch Hand

Posts: 125

posted 6 years ago

All,

We have a project wherein we use Hibernate as our ORM layer. We started using Annotations and got to know the Annotations we used were all JPA standard annotations. We want to change this to use pure Hibernate based Annotations.

Is this task just a change of fully qualified package names from javax.*.* to org.hibernate.*.*

We have a project wherein we use Hibernate as our ORM layer. We started using Annotations and got to know the Annotations we used were all JPA standard annotations. We want to change this to use pure Hibernate based Annotations.

Any reason why you want to do that? The JPA annotations are supported by Hibernate (and any other JPA implementations). So what's the need for changing those to Hibernate specific annotations (which no other ORM framework will understand).