Hello,
I've been experiencing the same problem as you describe.
I've reviewed all postings here and found that the DB2OS390 dialect would require the autocommit to false for the correct retrieval of the next value.
All objects and its collections are being inserted and updated but never actually commited into the tables.
Configuration is DB2 v7.1, JDBC Type2, Hibernate 3.x and using the OS390 dialect.
Has anyone experienced a similar problem? and if it can provide any pointers would be greately appreciated.
Finally on side testing we've confirmed the same code works fine on DB2Dialect (not os390) on a DB2 UDB 8.x on Windows.
Thanks !
|