moving from JPA standard annotations to pure hibernate annotations
Mohit Sinha
Ranch Hand
Joined: Nov 29, 2004
Posts: 122
posted
0
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.*.*
Thanks Jeanne.
I am ok with respect to the DAO layer. My issue is with Hibernate POJO annotations. Annotations are the only piece using JPA and we are having core Hibernate ops for the rest.
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).