I have a back-end application which I use Hibernate 3.0 to persisting some object into a DB2 database, but sometimes I receive the following exception:
org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
When I check the cause of this exception I see:
Caused by: com.ibm.db2.jcc.c.vd: Non-atomic batch failure. The batch was submitted, but at least one exception occurred on an individual member of the batch.
could someone help me to say where I should start to attack this problem for? It seems the information was able to store but one exception occurred, I don't know why this exception is happening.
Thanks in advance for your help.
|