It's not a secret anymore!
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
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "session.update not working" Watch "session.update not working" New topic

session.update not working

Ankit Chandrawat
Ranch Hand

Joined: Jan 03, 2008
Posts: 88

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.

I agree. Here's the link:
subject: session.update not working
It's not a secret anymore!