thelordoftherings
Programmer
Hello,
Lets say I have an SQL server and I would like to create an entity bean which is connected to one of the tables.
The problem is that when a row is created at this table the primary key is a serial number which the SQL server creates automaticlly. How do I use an entity bean to create new row at this table in this case? The problem is that the create should return a primary key but this key cannot be created by the bean itself...
Lets say I have an SQL server and I would like to create an entity bean which is connected to one of the tables.
The problem is that when a row is created at this table the primary key is a serial number which the SQL server creates automaticlly. How do I use an entity bean to create new row at this table in this case? The problem is that the create should return a primary key but this key cannot be created by the bean itself...