Re: AutoIncrement, Primary Key -- MS SQL ... problems.

2000-08-23 Thread Vlad Petric
This is one of the fundamental problems of EJB :) Well, the answer is negative: you can't have a non-writable field in the table, Orion (and not only Orion) will always complain. Instead, you would have to generate your own unique ids. - you can generate unique ids with the UID class (based

AutoIncrement, Primary Key -- MS SQL ... problems.

2000-08-22 Thread Jeremy Cowgar
Greetings! I have a simple table: CREATE TABLE UserInfo ( userID int IDENTITY(1,1) NOT NULL, userCode varchar(15) ); I have made a simple entity bean to manipulate this table (in real life it contains many more fields). How do I cause Orion to read the userID via a function getu