Hello:

I am new to EJB and I am sure that it shows, but I have
a very simple question:  Where and how are the keys
generated?

I have read everythign I can find and all the docs and
books talk about the higher level stuff, but this question
still causes me to wonder.

For example, I am trying to model an Employee
that has a Name.

So, I created a database table:
   CREATE TABLE Employee (
        Employee_PK INTEGER NOT NULL,
        Name VARCHAR NOT NULL
    )

I think I understand how to write the EJB, do all the BMP
SQL code, etc., etc.

But, what I dont know is how the PK ever gets set.

Can anyone clear this up for me?

Thanks,
        Neil.

--
Neil Aggarwal, President & CEO
JAMM Consulting, Inc. (http://www.JAMMConsulting.com)
Custom Programming in Java, C, C++, perl, HTML, CGI

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