This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Delete Query in hibernate doesnt work

 
Prasad Suseela
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a newbie to hibernate 3...I have a problem associated with the hibernate delete query.....
when i execute the delete query it returns a 'null'....
My program to delete the query is

my mapping file(contact.hbm.xml) is

and my POJO file is

Could anyone please help me out in this issue???
 
Vijay Dharap
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For me the same program works correctly... When you run the program.. do you get any error message on console?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic