Thank you for your kind help.
I have tried the first scenario you suggested, I can define
3 create methods, but how can I define finder methods, especially
the findByPrimaryKey method?
Best Regards,
Que
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 5:07 PM
Subject: Re: tree like entities
> Hi Que,
>
> I hope following two options may solve u problem partially.
>
> 1) With BMP this can be done by having three create methods with
> corresponding arguments of each table. Correct create method will be
> selected dynamically depends on the number of arguments passed.
>
> 2) Otherwise u can have single CMP, three create methods, 3 jars, and each
> jar will have different XML descriptors(to map different tables and
> filelds), different JNDI names, but here we are not going to save much of
> the resources.
>
>
> Edla B. Reddy
>
> ===========================================================================
> 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".