On Sat, Jun 23, 2001 at 09:58:12AM -0700, Konstantin Priblouda wrote:
>
> Your EJB shall have primary key. ( and it could be
> whatever field you like ). On creation of your EJB
> you have to generate this key yourself.
>
> I use an separate bean as sequence generator.
This interests me. I will be doing a project where I don't care much
what the primary keys are, only that they are there and are unique
(obviously). Ideally, I would have the database autogenerate a
sequence of numbers, but there doesn't seem to be a way to get the
Container to do this for me?
Could you describe your sequence generator? It sounds like the thing
that I need.
Cheers
Bent D
--
Bent Dalager - [EMAIL PROTECTED] - http://www.pvv.org/~bcd
powered by emacs
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user