• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Delete with a some where clause

 
Saumya Nair
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I m new to hibernate.How can i delete a record using hibernate functions where i can specify different column name in the where criteria instead of the pk field that hibernate function (delete) uses...


I m using Oracle as backend.
 
Thomas Fischer
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

chapter 13.4 of the "hibernate reference documentation" has an example on this topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic