Dear Friend,
I have tables (SQL Server 7) with a primary key field, set to type
int - auto number (identity in SQL Server), which will be filled
automatically with a unique increasing number everytime a
new record is added.
The question is how can I include the field to a CMP bean ?
If I set the variable in "ejbcreate" method than it will be
saved to database (which will be rejected because it is supposed
to be handled by the database server itself).
On the other hand, I still want the bean to be able to retrieve the
value from that field as well as use the "findByPrimaryKey()" method.
Has anyone ever face the some problem ? Would you share a solution ?
Thanks in advance,
Andri
===========================================================================
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".