Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Annotations

 
mano ranjan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anybody explain me what is hibernate annotations and what is the use of that annotations and what is the need of using that??
Thanks
mano
 
mano ranjan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have just started to use hibernate annotations.i am using
@SQLInsert(sql = "insert into products(userId,productName) values(?,?) ")
at the top of my entity class Product.Can anybody explain me when will this quey be executed.or else how will i execute this query to fetch data from products table.

thanks
mano.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic