The BlobTest class in the OJB test suite fails when storing the ObjectWithBlob object in Oracle 8.1.7 database. I get the stack trace shown below.
Has anyone got it working successfully with Oracle? I tried to search the OJB mailing list archive but the search function on the site is not working at the moment. [DEFAULT] ERROR: java.lang.ClassCastException: [C at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:2016) at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:2052) at org.apache.ojb.broker.platforms.PlatformDefaultImpl.setObjectForStatement(PlatformDefaultImpl.java:212) at org.apache.ojb.broker.platforms.PlatformOracleImpl.setObjectForStatement(PlatformOracleImpl.java:130) at org.apache.ojb.broker.accesslayer.StatementManager.bindInsert(StatementManager.java:465) at org.apache.ojb.broker.accesslayer.JdbcAccess.executeInsert(JdbcAccess.java:208)[C at org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1675) at org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:635) at org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:591) at org.apache.ojb.broker.BlobTest.testBlobInsertion(BlobTest.java:77) at java.lang.reflect.Method.invoke(Native Method) 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 junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.start(TestRunner.java:172) at junit.textui.TestRunner.main(TestRunner.java:138) at org.apache.ojb.broker.BlobTest.main(BlobTest.java:15)
