Re: [castor-dev] [JDO?] ClassMolder.create FieldMolder.PERSISTANCECAPABLE type field bug?

2004-06-06 Thread Jon Wilmoth
I've created a bugzilla bug report (http://bugzilla.exolab.org/show_bug.cgi?id=1653) and attached 6 files: Book/Author classes (w/MySQL ddl included), mapping docs, a db file and a JUnit test case demonstrating the issue. Because I've defined my fk column as not-null, the test case fails due to a

Re: [castor-dev] [JDO] Querying for null values?

2004-06-06 Thread Bruce Snyder
Konrad wrote: Hello. In the database, I have an 'int4' (Postgresql) field called 'parentId'. It is a foreign key reference that may be null. I'm mapping this 'int4' database field to an Integer Java field. Database Type id:int4 prnt_id:int4 Java Type.class -- Integer id

[castor-dev] [JDO] Querying for null values?

2004-06-06 Thread Konrad
Hello. In the database, I have an 'int4' (Postgresql) field called 'parentId'. It is a foreign key reference that may be null. I'm mapping this 'int4' database field to an Integer Java field. Database Type id:int4 prnt_id:int4 Java Type.class -- Integer id;