Hi, >From the EJB2.0 spec
"The primary key type must be a legal Value Type in RMI-IIOP. The class must provide suitable implementation of the hashCode() and equals(Object other) methods to simplify the management of the primary keys by the Container." "The primary key class must be public, and must have a public constructor with no parameters. All fields in the primary key class must be declared as public." No mention of toString(), David --- Vivek Singh <[EMAIL PROTECTED]> wrote: > Is it required to provide a toString method in the > PrimaryKey class? If yes > then why? > > Vivek > > =========================================================================== > 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". > ===== David J. Jones, <[EMAIL PROTECTED]>, Virgin Mobile USA, 8th Floor, 22 Fourth Street, San Francisco, CA, 94103, Work: 415 932 5470. USA. Fax: 415 358 4999. __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.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".
