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

Row Deletion in Hibernate: How do you do it?

 
anusha sivakumar
Greenhorn
Posts: 14
Chrome Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi an any one tell me how to delete a row in hibernate
i hve created three rows and im not knowing how to use the delete in hibernate
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Obviously your code will be different from mine, but here is the basic idea:



I pulled this from the following tutorial of mine which covers the basic CRUD operations:
Doing CRUD Operations in Hibernate

By the way, welcome to the JavaRanch. It's good to see you asking questions. I changed your subject line to something a bit more meaningful than just "Hi." You'll get better responses the better your subject line is, so keep them meaningful!
 
anusha sivakumar
Greenhorn
Posts: 14
Chrome Eclipse IDE Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the help Mr Cameron my code worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic