If you require complex joins in your query, then you probably have to
develop that entity bean as bean managed... That should solve your issue..
Or you can make the bean to be self-contained and one bean can make a use of
another as one to many relationship. That way, if you want to find out if
one is there in another bean, you simply use the findBy* method to see if it
returns the ref or not. If it does, then it's there...
Se Hee
-->-----Original Message-----
-->From: Sivakumar_Subramanian
-->[mailto:[EMAIL PROTECTED]]
-->Sent: Friday, June 16, 2000 6:44 AM
-->To: [EMAIL PROTECTED]
-->Subject: Clarification
-->
-->
-->Hi
-->Is it possible to map more than one table in WLS 5.1. or
-->should i go for
-->any third party tools for that. I am using CMP. How do i validate the
-->methods in EJB? suppose some client is calling
-->Create(empname,empno) etc
-->with the same record that is already there in the db. so it
-->will throw PK
-->exception but how to know by the client that the record is
-->already there.
-->need clarification .
-->
-->
-->with regards,
-->sivakumar
-->
-->=============================================================
-->==============
-->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".