[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2514) Incorrect FAQ regarding Batch updates against DB2

Anshul (JIRA) noreply at atlassian.com
Fri Mar 23 00:12:09 EDT 2007


Incorrect FAQ regarding Batch updates against DB2
-------------------------------------------------

         Key: HHH-2514
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2514
     Project: Hibernate3
        Type: Bug

  Components: documentation  
    Reporter: Anshul


This FAQ (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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list