[EMAIL PROTECTED] wrote: > OK, I did change everything to have fully qualified names, > and that eliminated one of the 2 issues I am having.
Nice! Progress is good. :) > So, here is the second issue I am still having. > > On deployment, I get this error: > ================================= [java] Role > 'AutomaticPaymentAccount-belongs_to-BusinessCard' of > relationship 'BusinessCard-AutomaticPaymentBankAccount' > contains an invalid key-column value of > 'automaticPaymentAccountFK'. The key-column must specify a > primary key column in the related bean. However, there is no > primary key column named 'automaticPaymentAccountFK' defined > in the related bean 'BusinessCard' or else > 'automaticPaymentAccountFK' is not being recognized due to > case mismatch. > > /** > * This is a one (BusinessCard) to one (BankAccount) relationship. > * > * @weblogic.target-column-map > * foreign-key-column="bankAccountPK" > * key-column="automaticPaymentAccountFK" > **/ > public abstract com.wf.bd.ice.account.BankAccountLocal > getAutomaticPaymentAccount(); > public abstract void setAutomaticPaymentAccount( ... ); Unless target-column-map works differently than column-map, I'd bet your key-column tags are reversed. You should have * foreign-key-column="automaticPaymentAccountFK" * key-column="bankAccountPK" Having said that, given the error message it seems also that you are using the wrong keys. It is expecting the foreign key to be in the BankAccount bean: "The key-column must specify a primary key column in the related bean." So I think you need to reverse the attributes *and* switch the keys around (PK of related bean). David Harkness Sr. Software Engineer Sony Pictures Digital Networks (310) 482-4756 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user