File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
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://aspose.com/file-tools
 
subject: moving to hibernate annotations
 
Similar Threads
Hibernate annotation generation IDE support
Location for configuration files and hbm files
Hiberante: Annotations Vs HBM Vs XML
Query on MiddleGen ..hbm2java task
Hibernate running outside the servlet