Hibernate Users FAQ under Platform Specific Issues states that "Batch updates seem to be cause problems for some JDBC drivers that claim to support them. We found that batch updates should be disabled for DB2 and Sybase. " (
http://www.hibernate.org/120.html#A6)
In another thread (
http://www.hibernate.org/120.741.html) it shows a stack trace with ClassCastException. This only happens if type changes between batch elements. This bug was also fixed in DB2 driver released early 2006.
Batch update works fine with the latest DB2 V8 and V9 driver. Is there any way to change the FAQ so that there is no confusion regarding Batch ability with Hibernate and DB2?
Thanks!!!