it supports.
just declare the primary key constructor with number of required parameters.

example

                public TimeCardExceptionDetailPK( String batchNumber,int
referenceNumber ){

                        this.batchNumber   = batchNumber;
                        this.referenceNumber = referenceNumber;
                }

Regards
Santosh.


-----Original Message-----
From: Thakur Sanjay Kumar ,DYM(EM1). [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 16, 2000 12:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Composite PK in entity EJB 1.1 using J2EE RI.


It supports. Please go through the example in the J2ee documentation.
thanks

> ----------
> From:         Richard Landon[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for Enterprise JavaBeans development
> Sent:         Friday, September 15, 2000 2:57 AM
> To:   [EMAIL PROTECTED]
> Subject:      Composite PK in entity EJB 1.1 using J2EE RI.
>
> It has been reported in the literature that the J2EE reference
> implementation does not
> support composite primary keys in entity EJB. Can anyone here confirm or
> deny this
> assertion.
>
> ==========================================================================
> =
> 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".

===========================================================================
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".

This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

                Visit us at http://www.cognizant.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".

Reply via email to