Sent: Tuesday, July 17, 2001 1:17 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] MS SQL JBOSS QUESTION - help needed
>
> Hi,
> how is the return value of select @@IDENTITY if another insert is issued
> before you select @@Identity??
> BeanA inserts
> Be
- Original Message -
From: "Maraya Michael" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 6:50 PM
Subject: RE: [JBoss-user] MS SQL JBOSS QUESTION - help needed
>
> I have ejbCreate() call the create() function in my Data Access
w new SQLException("Could not retrieve @@IDENTITY " +
"property:\n" + sql);
}
return retval;
}
---
Michael R. Maraya
> ------
> From: Burkhard Vogel[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL P
Hi,
ejbCreate should return the PK, how do you do it with an identity column?
Burkhard
- Original Message -
From: "Maraya Michael" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 5:15 PM
Subject: RE: [JBoss-user] MS SQL JBOSS QUESTION - help
Of Maraya
> Michael
> Sent: 17 July 2001 16:16
> To: '[EMAIL PROTECTED]'
> Subject: RE: [JBoss-user] MS SQL JBOSS QUESTION - help needed
>
>
>
> Don't use identity for entity beans, even bean-managed persistence
> ones? Why not?
2001 4:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] MS SQL JBOSS QUESTION - help needed
>
> Hi,
> to be more precise DON'T USE IDENTITY FOR ENTITIY BEANS, simply don't,
> stop
> trying. What you can do (and you are encouraged to do) is use a dummy
>
uot;requiresnew") and return
the value found as new primarykey. Read the autoinc thread in the archive!
Burkhard
- Original Message -
From: "Maraya Michael" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 7:49 PM
Subject: RE: [JBoss-user] M
araya
> --
> From: Sanjeev.Srinivas[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Monday, July 16, 2001 1:20 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] MS SQL JBOSS QUESTION - help needed
>
> my question if i have a column which
Mr. Burkhard Vogel,
my question if i have a column which is an identity (which can be specified
with ms sql, and means that this column cannot be updated by any other
applications other than ms sql and is unique, usually used to generate
unique id's). i have a CMP which has a field which maps to
my question if i have a column which is an identity (which can be specified
with ms sql, and means that this column cannot be updated by any other
applications other than ms sql and is unique, usually used to generate
unique id's). i have a CMP which has a field which maps to this column. if i
use
10 matches
Mail list logo