• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Annotations  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!