You might be able to do a ejbCreate with out a primary key and try to read
the primary key in ejbPostCreate.
Ted Slusser
"Chris Miller"
<[EMAIL PROTECTED] To: Orion-Interest
<[EMAIL PROTECTED]>
m> cc:
Sent by: Subject: SQL Server -
Autoincrement Primary Keys
owner-orion-interest@orion
server.com
11/14/2000 10:54 AM
Please respond to
Orion-Interest
Hi all,
This is possibly more of a generic EJB question, although maybe not since
Orion has to implement the persistence...
I was wondering if it is possible to use CMP beans against an existing
SQL-Server database that has autoincrement primary keys. It's not possible
to insert a value for the key (have to supply null), so using something
like
counter.jar to override the PK generation is not an option. Has anyone done
this successfully? What's the trick, or am I stuck with BMP (as I suspect
is
the case)?
Thanks,
Chris
- SQL Server - Autoincrement Primary Keys Chris Miller
- Re: SQL Server - Autoincrement Primary ... Sven van 't Veer
- Re: SQL Server - Autoincrement Prim... Shayne Hughes
- Re: SQL Server - Autoincrement ... Sven van 't Veer
- autoupdate errors Saphari.com - www.saphari.com
- RE: autoupdate errors Russ White
- RE: SQL Server - Autoincrement Primary ... TDSlusser
- RE: SQL Server - Autoincrement Primary ... Juan Lorandi (Chile)
