, 2003 05:15
Subject: Re: Problems when using composite primary keys
hi janet,
sorry, i overlooked the message in your stacktrace.
the following sample using multiple keys works for me:
class-descriptor
class=brj.ojb.MultiPkParent
table=multipkparent
field-descriptor
Hi,
Thanks. Got that problem solved. It works fine when i map a compound primary
key from one table to another with a single primary key. However when i map
compound primary keys to compound primary keys, i get a NullPointerException
which results from
hi janet,
btw it's useless to use proxy='true' in reference-descriptor when you
have proxy='dynamic' in the referenced class.
jakob
Janet Song wrote:
Hi,
Thanks. Got that problem solved. It works fine when i map a compound primary
key from one table to another with a single primary key.