AM
To: Orion-Interest
Subject: RE: Generating primary keys
two ways of doing this...
1. map your ejb pk to another ejb. The counter.jar does this. It creates
a long for every beantype. See the faq at www.orionserver.com
http://www.orionserver.com . I think there is something under
http
Hi mailing list,
I have the following problem: the primary key for
my EJB is generated at the database level ( a trigger ), so I don't want
togenerate it in the ejbCreate() method. However, EJB specification says,
that the use of the primary key isa MUST. Does anyone have the solution
for
s,
the
elephantwalker
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sergei
BatiukSent: Monday, May 14, 2001 10:08 AMTo:
Orion-InterestSubject: Generating primary keys
Hi mailing list,
I have the following problem: the primary key for
m
-Interest
Subject: RE: Generating primary keys
two ways of doing this...
1. map your ejb pk to another ejb. The counter.jar does this. It creates
a long for every beantype. See the faq at www.orionserver.com
http://www.orionserver.com . I think there is something under
http://www.orionsupport.com
Hello,
I'm looking for a way to generate primary keys for my container managed
entity beans.
For bean managed persistance you would simply use the functions that
your DBMS provides, like sequences or auto-increased columns. But how do
I do this with CMP beans? In books and example code
For bean managed persistance you would simply use the functions that
your DBMS provides, like sequences or auto-increased columns. But how do
I do this with CMP beans? In books and example code everyone avoids the
subject entirely, with
create(int id)
as the creation method.
Annoyingly enough,