Konrad wrote:

I'm running into a slight roadblock with our database
model and Castor, as I'm getting an error when trying
to retrieve an object that maps to a table, whose
Primary Key is made up of two fields, both of which
are Foreign Keys referencing other tables.

Can Castor handle this scenario whereby a Primary Key
is composed of two Foreign Keys?

Please let me know ASAP as I need to make a decision
on what to do if Castor cannot handle this situation.

Thank you very much!!!

Konrad,

My apologies for not responding sooner. I had the flu over the weekend and was in pretty bad shape.

FWIW, there is an FAQ entry about this very topic:


http://www.castor.org/jdo-faq.html#Can-a-foreign-key-be-part-of-multiple-primary-keys?

In addition, here is the bug report for this. I know that both Werner and Patrick have looked into this, maybe one of them can chime in. Guys, what say you?

Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\\"F9E<G)E=\\$\\!F<FEI+F-O;0\\`\\`");'


The Castor Project
http://www.castor.org/

Apache Geronimo
http://incubator.apache.org/projects/geronimo.html



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to