Good O/R mapping tools will may your collections into 1-many or
many-many relations.

arkin

Guillaume Rousse wrote:
>
> Sorry for such a naive question, but i imagine that using CMP
> with collections will give blob fields in database, no ? For correct
> O/R mapping,  you have to use BMP and convert object links to foreign keys when
> storing, right ?
>
> Le mar, 29 f�v 2000, vous avez �crit :
> > I've got situations where I want to implement an ad hoc 1-many relationship
> > from one CMP entity to a number of other CMP entities.  By ad hoc, I mean
> > that there is no data in the target entities which would allow me to use a
> > finder method that returns the right collection of entities. A simple,
> > obvious approach to implementing that would be for the first entity to have
> > a CMP field which is a Java2 Collection.
>
> Cheers
> --
> Guillaume Rousse
>
> Iremia - Universit� de la R�union
> 15 avenue Ren� Cassin, BP 7151
> 97715 Saint Denis, messagerie cedex 9
> Tel:0262938330 Fax:0262938260 ICQ:10756815
>
> BRIDGEKEEPER: What... is the air-speed velocity of an unladen swallow?
> ARTHUR: What do you mean? An African or European swallow?
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to