Hi
I have a wierd pb with session merge
In the code i have
hibSession.merge(moduleData);
When the object is persited, the value is inserted and updated in the database with out any issues.
But moduleData has a attribute called commetVO . if this is a inserted in the database, the id in the commetVO is not set (updated) but the database insert happens with out any issue.
Also moduleData has an attribute called version for versioning. After the merge (which results in a database update), the version in the object is not updated (but the database has the updated version)
Am i missing something?
Thanks in advance
Lakshmanan
|