I have been trying for hours to get the JDO related sample program
running,
but in vain. Each time I start the program I get the following meesages:
---------------------------------------------------------
[test] Begin transaction
[test] SELECT prod.id,prod.name,prod.price,prod.group_id,prod_detail.id
FROM {oj prod LEFT OUTER JOIN prod_detail ON
prod.id=prod_detail.prod_id} WHERE (prod.id = ?)
[test] org.exolab.castor.jdo.PersistenceException: Nested error:
java.sql.SQLException: ERROR: parser: parse error at or near "{"
[test] while executing SELECT
prod.id,prod.name,prod.price,prod.group_id,prod_detail.id FROM {oj prod
LEFT OUTER JOIN prod_detail ON prod.id=prod_detail.prod_id} WHERE
(prod.id = ?)
[test] java.sql.SQLException: ERROR: parser: parse error at or near "{"
[test] at
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:61)
[test] at org.postgresql.Connection.ExecSQL(Connection.java:398)
[test] at org.postgresql.jdbc2.Statement.execute(Statement.java:130)
[test] at
org.postgresql.jdbc2.Statement.executeQuery(Statement.java:54)
[test] at
org.postgresql.jdbc2.PreparedStatement.executeQuery(PreparedStatement.ja
va:99)
[test] at
org.exolab.castor.jdo.engine.SQLEngine$SQLQuery.execute(SQLEngine.java:1
584)
[test] at
org.exolab.castor.persist.TransactionContext.query(TransactionContext.ja
va:644)
[test] at
org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:458)
[test] at
org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:405)
[test] at jdo.Test.run(Test.java:109)
[test] at jdo.Test.main(Test.java:62)
---------------------------------------
I run Castor on W2K using JDK1.3
Thanks
Rong
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev