Hibernate version : 3.2
Name and version of the database : Oracle 10g
I'm selcting data from a table by a mapping file which is having a Composite Element and my session flush level is auto.
I'm just trying to select data from the table, hibernate internally trying to syncronize by continuously inserting and deleting data from the associated table, which is described under the composite element tag.
My problem is, hibernate is trying to delete data first, which is not happenin, then it is trying to insert data in the table, which is happening. Ultimately it is increasing my table data, nothing else.
I can stop this by setting the flush mode to Manual, but why deletion is happening, even there is no exception!!!!!
Why?
Some body please explain this to me.
|