We are having the same problem for an older version of hibernate. What db2 config properties fixed the problem?
What was the DB2 Configuration problem? We are facing similar issue. How you had fixed it?