You need to be more specific. What exactly did you try?
-dain
Arthur Wang wrote:
> Hi,
>
> I tried to use auto_increment for primary key when I create a new entity
> bean, but there are following exception:
>
> -
> HTTP ERROR: 500 removing bean lock and it has tx set!; ne
ECTED]]
Sent: Friday, June 07, 2002 4:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Using auto increment of mysql for PK
You need to be more specific. What exactly did you try?
-dain
Arthur Wang wrote:
> Hi,
>
> I tried to use auto_increment for primary key when I create a new
o: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Using auto increment of mysql for PK
>
>
> You need to be more specific. What exactly did you try?
>
> -dain
>
> Arthur Wang wrote:
>
>
>>Hi,
>>
>>I tried to use auto_increment fo
-Original Message-
>> From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, June 07, 2002 4:35 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: [JBoss-user] Using auto increment of mysql for PK
>>
>>
>> You need to be more specific. What exactly did
t;> field in the datatbase automatically, but it has following exceptions.
> >>
> >> -Original Message-
> >> From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
> >> Sent: Friday, June 07, 2002 4:35 PM
> >> To: [EMAIL PROTECTED]
> >> Sub
>
> > >> I am using auto_increment function of MySql database for primary key of
> > >> entity bean , so I don't need to set pk in ejbCreate, mysql will
> > >> populate pk
> > >> field in the datatbase automatically, but it has following exc
On Sat, Jun 08, 2002 at 09:15:50AM -0500, Dain Sundstrom wrote:
> That won't work with CMP. It does work with BMP if you are going that
> route. Unknown primary keys are are at the top of the new features
> list, so it will be at least a month.
Is this going to be DB dependent? I know that M
Simon Stewart wrote:
> On Sat, Jun 08, 2002 at 09:15:50AM -0500, Dain Sundstrom wrote:
>
>>That won't work with CMP. It does work with BMP if you are going that
>>route. Unknown primary keys are are at the top of the new features
>>list, so it will be at least a month.
>>
>
> Is this going