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
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
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;