aspose file tools
The moose likes Object Relational Mapping and the fly likes moving to hibernate annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "moving to hibernate annotations" Watch "moving to hibernate annotations" New topic
Author

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


Regards,

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: moving to hibernate annotations
 
Similar Threads
Hiberante: Annotations Vs HBM Vs XML
Hibernate annotation generation IDE support
Query on MiddleGen ..hbm2java task
Location for configuration files and hbm files
Hibernate running outside the servlet