The EJB spec says: "the names of the fields in the PK
class must be a subset of the names of the CMP fields".
This is enough for JOnAS to make its job !
François
[EMAIL PROTECTED] wrote:
> I am using JOnAS 2.2.4 with CMP EBs. I want to make a simple CMP EB that has a
>findByPrimeryKey. Now actually, the PK is a
> compound key on the RDBMS, so I made PK class. The question is: How does JOnAS know
>what field in the PK class to use on what
> position in the WHERE clause?
--
==================================================================
Francois EXERTIER Evidian (Groupe Bull)
1, rue de Provence, BP 208, 38432 Echirolles cedex, FRANCE
mailto:[EMAIL PROTECTED]
http://www.evidian.com/jonas http://www.objectweb.org/jonas
Tel: +33 (0)4 76 29 71 51 - Fax: +33 (0)4 76 29 76 00
==================================================================
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".