If you are using EJB 2.0, chances are good that with two Entity beans
mapping on your two tables, you will be able to express the query in EJB-QL.
However, as others said, we will need more information about your
configuration before we can give you a meaningful advice...
--
Cedric
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sanjay Saluja
> Sent: Tuesday, June 19, 2001 9:28 PM
> To: [EMAIL PROTECTED]
> Subject: How to use CMP for complex query
>
>
> Hi all,
>
> In my project I have to provide a complex query involving join on two
> tables.
> How can i handle this using CMP .
>
> Thanks
> Sanjay
>
> ==================================================================
> =========
> 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".