• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Annotations vs HBMS

 
vShyam Sundar
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

Which is the best option to start building up an application with hibernate, Either annotations or hbms. Please share your thoughts on this and pros and cons of each.

Thanks,
Shyam.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It may have to do with the preference of the developers as well. But using vendor specific annotations over a config files can limit the portability of the application to a different vendor. If for example JPA annotations can be used as they are widely implemented by the vendors as it is the standard for the Java persistence.
 
vShyam Sundar
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for your info.
What is vendor specific annotations?


Thanks,
Shyam.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is vendor specific annotations?

They are only provided by each vendors for non-standardized additional/advanced proprietary features.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic