• Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to update in Hibernate 3

 
Kartik Tal
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Am using hibernate 3 with the integration of Struts and Springs. Am able to connect database and able to fetch data with select statement, but not able to update. While am updating its giving an error like "Not supported for DML operations"

This is my code.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

an error like "Not supported for DML operations"

What is the exact error? Can you post the stack trace?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!