Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 5208 invoked from network); 1 Jul 2009 12:23:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 12:23:07 -0000 Received: (qmail 593 invoked by uid 500); 1 Jul 2009 12:23:18 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 567 invoked by uid 500); 1 Jul 2009 12:23:18 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 559 invoked by uid 99); 1 Jul 2009 12:23:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 12:23:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 12:23:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 482F3234C046 for ; Wed, 1 Jul 2009 05:22:47 -0700 (PDT) Message-ID: <750582134.1246450967294.JavaMail.jira@brutus> Date: Wed, 1 Jul 2009 05:22:47 -0700 (PDT) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4278) Batch inserts with Clobs fails with the embedded driver In-Reply-To: <1421005759.1245418027772.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-4278: ----------------------------------- Fix Version/s: 10.6.0.0 User reported that his application ran successfully with the fix applied (see the thread from the issue description). Committed patches 1a and 2a to trunk with revision 790135. Awaiting test results before back-porting to 10.5. > Batch inserts with Clobs fails with the embedded driver > ------------------------------------------------------- > > Key: DERBY-4278 > URL: https://issues.apache.org/jira/browse/DERBY-4278 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.5.1.1, 10.6.0.0 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Fix For: 10.6.0.0 > > Attachments: derby-4278-1a-regression_test.diff, derby-4278-2a-fix.diff > > > Batch inserts with Clobs fail because Derby is unable to determine if it should write the Clob stream header formats using the old 10.4 style format or the new 10.5 format. > More specifically, the access mode (soft upgrade or not) hasn't been set specifically by Derby before the stream header has to be generated, and there isn't enough context to determine the mode at generation time. > Bug was reported on derby-user: http://www.nabble.com/Hibernate-%2B-Derby---Unable-to-determine-stream-header-for-hibernate-type-%27text%27-td24099674.html > The bug was reported for Derby used with Hibernate. Possible workarounds are to use the client driver or to avoid using batched inserts with Clobs (i.e. don't use batched inserts, which may degrade performance, or use a different data type). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.