hi all,
if I use castor with firebird (or interbase) I get a NullPointerException
during the creation of objects (db.create()) in TransactionContext.create().
The same class and mapping file works fine with mysql.
call stack:
org.exolab.castor.jdo.PersistenceException: Nested error:
java.lang.NullPointerException at
org.exolab.castor.persist.TransactionContext.create(Unknown Source) at
org.exolab.castor.jdo.engine.DatabaseImpl.create(Unknown Source) at
castortest.CastorTest.AddRecords(CastorTest.java:55)
Another problems occurs during an object query: a NullPointerException in
the InterClient.
With mysql the code runs without errors.
call stack:
java.lang.NullPointerException at
interbase.interclient.MessageBufferOutputStream.writeLDSQLText(MessageBuffer
OutputStream.java:202) at
interbase.interclient.Connection.remote_ATTACH_DATABASE(Connection.java:384)
at interbase.interclient.Connection.connect(Connection.java:331) at
interbase.interclient.Connection.<init>(Connection.java:285) at
interbase.interclient.DataSource.getConnection(DataSource.java:532) at
interbase.interclient.DataSource.getConnection(DataSource.java:498) at
org.exolab.castor.jdo.engine.DatabaseRegistry.createConnection(Unknown
Source) at
org.exolab.castor.jdo.engine.TransactionContextImpl.getConnection(Unknown
Source) at
org.exolab.castor.persist.TransactionContext.query(Unknown Source) at
org.exolab.castor.jdo.engine.OQLQueryImpl.execute(Unknown Source) at
org.exolab.castor.jdo.engine.OQLQueryImpl.execute(Unknown Source) at
org.exolab.castor.jdo.engine.OQLQueryImpl.execute(Unknown Source) at
castortest.CastorTest.DumpRecords(CastorTest.java:72)
Any ideas ?
thanks,
Thommy
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev