viewww wrote:
What features in Hib3 are missing from JPA ?
Well, typically, the Criteria API and filters.
viewww wrote:
May I code 80% of my application using JPA and the remaining with Hib3 specific features ?
I don't see any impossibility to do so. The majority of your code will deal with javax.persistence.EntityManager, while some portion will use a org.hibernate.Session...
However, while 80% of your application will not depend on your ORM, the remaining 20% will.
viewww wrote:
How do I know when I'm coding something standard (i.e. JPA) and when I'm coding sthing specific (Hib3) ?
In order to use Hibernate's JPA implementation, you will have to use the Hibernate Annotations and Hibernate Entity Manager extensions.
When using JPA, you only deal with classes from the ""javax.persistence" package (EntityManager, etc.) and your code is indepedent from the JPA implementation.
Whenever you're using "org.hibernate" classes (Session, etc.), you're in Hibernate.
Hope this helps