Thread:
 Incorrect FAQ regarding Batch updates against DB2 
 anshuld   23 Mar 2007, 00:00 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: anshuld (23 Mar 2007, 00:00) Replies: 0, Views: 9043
Subject: Incorrect FAQ regarding Batch updates against DB2
This FAQ above (http://www.hibernate.org/120.html#A6) regarding batch 
updates should be disabled against DB2 is incorrect. Batch update works 
fine when using IBM DB2 JDBC driver shipped with version 8 and version 
9. Batch updates should be enabled because it provides performance 
advantages to application using hibernate against DB2.

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 can be avoided by setting connection 
property deferPrepares to false. This bug was also fixed in the driver 
that was shipped in early 2006.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]