I manage them myself:

Bean 1: field a stores FK to Bean 2.

ejbCreate(bean 2) { if (bean 2 != null) a = bean 2.getPrimaryKey(); }

Its a little bit of work, but it allows me to search on the FK column...  I
don't know if Jboss will do this for you automatically.

> -----Original Message-----
> From: Florian Bischof [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 10:40 AM
> To: [EMAIL PROTECTED]
> Subject: [jBoss-User] CMP Relationships
> 
> 
> Hi all,
> 
>   is there an example, documentation or tutorial for relationships
> (1-n/n-m) between container-managed persistence entity beans existing 
> (working on JBoss)?
> 
> Anyone already using CMP-relations on jBoss?
> 
> Thanks
>   Florian
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
> 





---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law.  If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to