It seems that I found a bug with castor version 0.9.4.3 and Informix clob.
When I use the following mapping:
<field name="test5" type="string" required="false">
<sql name="test5" type="clob" dirty="ignore" />
</field>
I get the following error when I tried to insert a row:
java.sql.SQLException: nullnull
at
com.informix.util.IfxErrMsg.getSQLMinorException(IfxErrMsg.java:471)
at
com.informix.jdbc.IfxObject.fromCharacterStream(IfxObject.java:806)
at com.informix.jdbc.IfxValue.makeInstance(IfxValue.java:1002)
at
com.informix.jdbc.IfxPreparedStatement.setCharacterStream(IfxPreparedStateme
nt.java:2688)
at
org.exolab.castor.jdo.engine.SQLTypes.setObject(SQLTypes.java:416)
at org.exolab.castor.jdo.engine.SQLEngine.create(SQLEngine.java:598)
at
org.exolab.castor.persist.ClassMolder.create(ClassMolder.java:903)
at org.exolab.castor.persist.LockEngine.create(LockEngine.java:458)
at
org.exolab.castor.persist.TransactionContext.create(TransactionContext.java:
883)
at
org.exolab.castor.jdo.engine.DatabaseImpl.create(DatabaseImpl.java:366)
at imtf.ch.atlas.capture.data.Main.doTest(Main.java:164)
at imtf.ch.atlas.capture.data.Main.start(Main.java:45)
at imtf.ch.atlas.capture.data.Main.main(Main.java:598)
Exception in thread "main"
I changed back to version 0.9.4, and it works fine !!!
Does anyone have the save problem and have a work around to that problem
allowing me to use version 0.9.4.3 ?
Regards . Yvan
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev