Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-07 Thread Dain Sundstrom
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

RE: [JBoss-user] Using auto increment of mysql for PK

2002-06-07 Thread Arthur Wang
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

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-08 Thread Dain Sundstrom
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

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-13 Thread Javier A. Soltero
-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

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-13 Thread Damon Torgerson
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

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-14 Thread Markus Garscha
> > > >> 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

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-14 Thread Simon Stewart
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

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-14 Thread Dain Sundstrom
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