This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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