Hello,

I think it has nothing to do with the spec but rather with a particular AS.

The bean provider using CMP tells which fields need to be persisted, what is
the PK, ... That's all.

That is up to the bean deployer to further configure the beans according to
its selected AS. It may use a RDBMS, OODBMS, LDAP, ... It is not the problem
of the bean provider.

Consequently, if your particular AS CMP tool provides such possibilities,
great! But as you can see, such possibilities, from the bean point of view,
do not modify the semantic => it is a deployement choice (i.e. optimization,
...)

Cheers,


                                Sacha




> -----Message d'origine-----
> De : A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]De la part de Shane Duan
> Envoyé : jeudi, 8 mars 2001 21:34
> À : [EMAIL PROTECTED]
> Objet : Re: persisting an Entity Bean over more than one table using CMP
>
>
> As I recall last time when I read the specs, the answer is 'no.  But that
> was one year ago.
> Check with the specs and I think you should find the answer.
>
> BTW, there are other solution for that instead of EJB entity,
> e.g., Toplink.
>
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rein Reezigt
> Sent: Thursday, March 08, 2001 2:03 PM
> To: [EMAIL PROTECTED]
> Subject: persisting an Entity Bean over more than one table using CMP
>
>
> Hello,
>
> I was wondering if it is possible to persist an Entity Bean over more than
> one table using CMP. For example 3 attributes go in table A and 2
> attributes
> go in table B.
> I can see this might come in handy when having some kind of inheritance in
> your architecture.
>
> Thanks,
>
> Rein Reezigt
>
> ==================================================================
> =========
> 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".
>
>

===========================================================================
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