Re: [castor-dev] JDO: OQL Question...

2003-06-24 Thread NicoHT
eep Bhasin [mailto:[EMAIL PROTECTED] Sent: dinsdag 24 juni 2003 11:30 To: [EMAIL PROTECTED] Subject: Re: [castor-dev] JDO: OQL Question... Hi, Simply use SELECT o FROM myapp.Product o WHERE product.group=3 Sandy. -Original Message- From: Tetley, Paul [mailto:[EMAIL PROTECTED] Sent

Re: [castor-dev] JDO: OQL Question...

2003-06-24 Thread NicoHT
rorsProperties._DATABASE_ACCESS, "Unable to connect to the database."); } finally { InstanceFactory.getJDBCManagerInstance().closeConnection(); } } -Original Message- From: Tetley, Paul [mailto:[EMAIL

Re: [castor-dev] JDO: OQL Question...

2003-06-24 Thread Ben Redman
Tetley, Paul wrote: In the Castor 0.9.5 examples (the JDO Example) I've the OQL Query Analyzer GUI tool and tried to run the query: SELECT o FROM myapp.Product o WHERE product.group.id=3 The query should be: SELECT o FROM myapp.Product o WHERE o.group.id=3 -- Ben Redman, Software Engineer

Re: [castor-dev] JDO: OQL Question...

2003-06-24 Thread Sandeep Bhasin
Hi, Simply use SELECT o FROM myapp.Product o WHERE product.group=3 Sandy. -Original Message- From: Tetley, Paul [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 2:46 PM To: [EMAIL PROTECTED] Subject: [castor-dev] JDO: OQL Question... In the Castor 0.9.5 examples (the JDO

[castor-dev] JDO: OQL Question...

2003-06-24 Thread Tetley, Paul
In the Castor 0.9.5 examples (the JDO Example) I've the OQL Query Analyzer GUI tool and tried to run the query: SELECT o FROM myapp.Product o WHERE product.group.id=3 I get an exception: org.exolab.castor.jdo.QueryException: An unknown field was requested: product.group.id (myapp.Product AS pr