This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Object Relational Mapping and the fly likes session.update not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "session.update not working" Watch "session.update not working" New topic
Author

session.update not working

Ankit Chandrawat
Ranch Hand

Joined: Jan 03, 2008
Posts: 87
Hi,

I am updating an object using session.update as follows:



This chatSession object is retreived in a different method in a different session. The mapping xml file of the chatSession object is



The code is not throwing any error, but it is not updating the database table also. Please advice.


TIA,
Ankit
 
Consider Paul's rocket mass heater.
 
subject: session.update not working