Did you leave the Primary Key Field Name blank in addition to specifying
your Primary Key Class? When I do this, "Generate SQL" correctly generates
SQL statements that include each of the primary key fields.
Bob Beauchemin
[EMAIL PROTECTED]
-----Original Message-----
From: Kenneth D. Litwak [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 17, 2000 5:32 PM
To: [EMAIL PROTECTED]
Subject: Basic CMP question
Sorry for a basic question, but since I think Ihad this wrong, I need
help
clarifying it.
In BMP, you have to specify the field(s) of the primary key in the bean
class itself, as well as potentially a primary key class, right?
In CMP, you don't specify the key field(s) in the bean class but only in
the
primary key class, right?
Has anyone tried using CMP in the J2EE RI? I"ve hit a snag there,
because
Idon't see a way to tell the Deploytool that the compound primary key class
has
muyltiple fields, so it is trying to do CMP with one column that matches the
contents of the multiple fields in the PK class. Am I missing something
obvious? Thanks.
Ken
===========================================================================
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".