wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Learning Hibernate Annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Learning Hibernate Annotations " Watch "Learning Hibernate Annotations " New topic
Author

Learning Hibernate Annotations

Sagar Kale
Ranch Hand

Joined: May 02, 2008
Posts: 188
What is difference between EJB3 and Hibernate Annotations? I have learned EJB3. Now what else I will have to learn to know hibernate annotations?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Hibernate provides a variety of extensions, so sometimes, like with inheritance mapping, to simplify your mappings, you can add in a Hibernate specific mapping.

Most implementations I have used have leveraged Hiberante as the persistence provider and used JPA annotations without using anything Hibernate specific.

-Cameron McKenzie
Sagar Kale
Ranch Hand

Joined: May 02, 2008
Posts: 188
thank you Cameron
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Learning Hibernate Annotations