Hollow Object issue

2008-04-16 Thread Malcolm Edgar
Hi Guys, I have a nasty problem with attempting to perform a refetchObject() on a hollow object. This is the DataObject toString(), note the primary key column 'schema_config_oid' has a value of '[EMAIL PROTECTED]>' The primary key column of this database is an BIGINT, this table only has one re

Re: EJBQL problem

2008-04-16 Thread Andrus Adamchik
Looks like a Cayenne bug to me... t2 is nowhere to be found in the translated query. besides a join to manufacturer should probably be an OUTER JOIN. Would you mind opening a bug report please? https://issues.apache.org/cayenne/ Thanks, Andrus On Apr 16, 2008, at 6:24 PM, Jeff Pierson wrote

EJBQL problem

2008-04-16 Thread Jeff Pierson
I am running into an error that I think might be a bug in the EJBQL implementation unless I'm doing something wrong that I'm not seeing. I am running the following EJBQL query against a MySQL 5.0 database with Cayenne 3.0M3, it looks valid to me: SELECT COUNT(p) from Product p where p.vsCatalo