db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <derby-...@db.apache.org>
Subject [jira] Closed: (DERBY-621) PreparedStatement batching does not seem to work with BLOB
Date Tue, 18 Oct 2005 19:41:46 GMT
     [ http://issues.apache.org/jira/browse/DERBY-621?page=all ]
     
Rick Hillegas closed DERBY-621:
-------------------------------

    Resolution: Fixed

Closed per reporter's judgment.

> 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


Mime
View raw message