Hello!
I try to load objects using a OQLQuery like this one:
SELECT p FROM myapp.Partner p
WHERE p.name like $1
The parameter ($1) is a String.
When I execute the query I receive an error message like this:
(first line is german and means the type of the object for setObject() is not a valid
one.
ava.sql.SQLException: JZ0SE: Ung�ltiger Objekttyp (oder Null-Objekt) f�r setObject()
angegeben.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:436)
at
com.sybase.jdbc2.jdbc.SybPreparedStatement.setObject(SybPreparedStatement.java:
444)
at com.codestudio.sql.PoolManPreparedStatement.setObject(Unknown Source)
at org.exolab.castor.jdo.engine.SQLEngine$SQLQuery.execute(SQLEngine.java:1581)
at org.exolab.castor.persist.TransactionContext.query(TransactionContext.java:644)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:458)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:414)
I have read some people have had similar problems with Postgres, but what is about
Sybase.
I am using Castor 0.9.3.9 with cache and long transactions.
Kind regards
Rainer M�ller
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev