Hi,
now we are close: go to the archive and read hundreds of postings on
autonumbering, pk generation, et al!
Usually create a session-bean that encapsulates your DB number-generatio
procedure, CMP CAN NOT ISSUE PKs!!!
Burkhard
----- Original Message -----
From: "Max Krainov" <[EMAIL PROTECTED]>
To: "Burkhard Vogel" <[EMAIL PROTECTED]>
Sent: Thursday, July 12, 2001 12:41 PM
Subject: Re: SV: [JBoss-user] CMP and PK
> Hello!
> Recently (12.07.2001 14:38) you wrote:
> >> LP> what do you mean by 'count the value' ?
> >> I mean the value of the Primary Key if it is Integer, not a
> >> composite key.
> BV> what do you want to COUNT???
> Ok, I'll say another word: not to "count" but to
> "generate". I was interested how to generate a unique primary
> key for the CMP Entity Bean like in Oracle (sequence.NEXTVAL).
>
> --
> Sincerely yours, Max
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user