Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 44741 invoked from network); 9 Apr 2006 18:55:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Apr 2006 18:55:46 -0000 Received: (qmail 90585 invoked by uid 500); 9 Apr 2006 18:55:45 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 90554 invoked by uid 500); 9 Apr 2006 18:55:45 -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 90545 invoked by uid 99); 9 Apr 2006 18:55:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Apr 2006 11:55:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Apr 2006 11:55:45 -0700 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 36DECD4A00 for ; Sun, 9 Apr 2006 19:55:24 +0100 (BST) Message-ID: <195071321.1144608924212.JavaMail.jira@ajax> Date: Sun, 9 Apr 2006 19:55:24 +0100 (BST) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Reopened: (DERBY-621) PreparedStatement batching does not seem to work with BLOB In-Reply-To: <1811137764.1129174385310.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-621?page=all ] Kathey Marsden reopened DERBY-621: ---------------------------------- > PreparedStatement batching does not seem to work with BLOB > ---------------------------------------------------------- > > Key: DERBY-621 > URL: http://issues.apache.org/jira/browse/DERBY-621 > Project: Derby > Type: Bug > Components: JDBC > Versions: 10.1.1.0 > Reporter: Hiram Chirino > Attachments: DerbyTest.java > > I get the following error when using batching with a BLOB field: > java.sql.BatchUpdateException: An attempt was made to get a data value of type 'java.lang.Object' from a data value of type 'BLOB'. > at org.apache.derby.impl.jdbc.EmbedStatement.executeBatch(EmbedStatement.java) > at org.activemq.broker.store.DerbyTest.testBatch(DerbyTest.java:68) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at junit.framework.TestCase.runTest(TestCase.java:154) > at junit.framework.TestCase.runBare(TestCase.java:127) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira