Hi all
I am writing a simple entity bean using CMP for the following table.
CREATE TABLE customer (
id INTEGER PRIMARY KEY,
name VARCHAR2(80)
);
When new records are inserted, the id column for this table should be
generated automatically (eg using the SEQUENCE feature of oracle),
without client having to explicity pass it. The client should be able to
simply say :
home.create("abc");
to create a new record.
Any idea how to achieve this?
Thanks for any help.
--
shiv
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.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".