Actually, it is one PK Class per Entity Bean not a PK Field. That PK Class
can contain more than one field that will constitute the PK.
----- Original Message -----
From: paul polli <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 14, 2000 4:44 AM
Subject: Primary Keys... PK class question
> I've see this question posted somewhere and I am
> actually interested in its answer:
>
> This question might have been asked, if there is an
> answer to it somewhere, please point me to it:
>
> First of all, is it possible to deploy an EJB (entity
> CMP/BMP) with a Primary key other than
> java.lang.String. The other one is: according to the
> spec we can only have one primary key field per entity
> bean (please correct me if I am wrong). What if I want
> to support multiple PKs (more than one field in a
> PK class). Would it work... How.
> Your help is appreciated.
>
> Paul
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
>
===========================================================================
> 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".