[OJB-developers] Classcast exception: java.lang.Doulee Error while testing run_broker_example on Ora
Brought to you by:
thma
From: hwang <hw...@re...> - 2002-03-17 20:00:53
|
When I test the build run_broker_example on the oracle database, I got the exception: [junit] java.lang.ClassCastException: java.lang.Double [junit] at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePr eparedStatement.java:1980) [junit] at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePr eparedStatement.java:2052) [junit] at ojb.broker.accesslayer.StatementManager.bindInsert(StatementM anager.java:293) [junit] at ojb.broker.accesslayer.JdbcAccess.executeInsert(JdbcAccess.ja va:151) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBr okerImpl.java:1347) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBr okerImpl.java:313) [junit] at test.ojb.broker.BrokerExamples.testShallowAndDeepRetrieval(Br okerExamples.java:229) Has anybody has such problem before? Thanx, John W |