Just define the "candidate" key as th primary key in the repository.xml;
everything should work fine.

OJB Does not *need* the foreign key and primary keys defined as constraints
in the database at all...

-----Original Message-----
From: Mcgough, Brian Joseph [mailto:[EMAIL PROTECTED]
Sent: 14 May 2005 04:53
To: [email protected]
Subject: relate using a candidate key?


Hello,

 

We have a situation where we have a table that has a primary key, but we
are adding an additional "candidate" key that will always be unique and
mandatory we would like to be able to use to define these relationships
and not the primary key.

 

Is there any way to do this?

 

Thanks,

 

Brian McGough

Indiana University

 

 



___________________________________________________________
HPD Software Ltd. - Helping Business Finance Business
Email terms and conditions: www.hpdsoftware.com/disclaimer 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to