Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

moving to hibernate annotations

 
manish ahuja
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic