This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes moving to hibernate annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "moving to hibernate annotations" Watch "moving to hibernate annotations" New topic

moving to hibernate annotations

manish ahuja
Ranch Hand

Joined: Oct 23, 2003
Posts: 312
Hi All,

We currently have a Hibernate ORM implementation using the earlier approach of (cfg+hbm xml) files. We are now planning to move towards annotations. I understand for tables all the declarations in the hbm xml files will go as annotations in the POJO class. How are the cfg settings moved to annotations.

Also are annotations alternative available for all tasks earlier executed through xml based files.

Do post your thoughts


subject: moving to hibernate annotations
It's not a secret anymore!