i have used select IDENT_CURRENT() to get the identity generated by
the database. and also have specified the transaction as Required in the
ejb-jar. so does this mean that the select call is transaction aware ?. any
clarification is appreciated.
thanks and regards
Sanjeev Srinivas
Globalserve
Can somebody please give me an example of BMP whose primary key is set to be
identity(MS sql property) and also one of its fields is a foreign key to a
table whose primary key is also identity. i am having problems with ejbload
since it is not allowing me to update the foreign key since it it an
i
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
Mr. Burkhard
thanks for the help, but i am still getting ROLLBACK EXCEPTION when using a
finder method. i am using Integer as the primary key class and am not
setting it to null anywhere in the bean class. also i am not setting any
instance fields of the bean to null. sorry about the no. o
> Message: 1
> From: "Burkhard Vogel" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Re: [JBoss-user] RE: Clarification about the User
> Defined Prmary key class
> Date: Sun, 15 Jul 2001 17:07:36 +0200
> Reply-To: [EMAIL PROTECTED]
>
>
&g
i am getting the following exception using MS SQL as dabase and jdbc-odbc
driver while runing a client on a CMP running a finder method. below is the
trace of the exception
[User] java.rmi.ServerException: Load failed; nested exception is:
[User] java.lang.NullPointerException
[User] java.lang.N
My question is :
can we use the user defined primary class for ex. UserPK instead of
java.lang.Integer, if yes can someone tell weather the ejb-jar.xml file
should have entries for both the primark-key-class and primary-key-field ?
thanks in advance.
> -Original Message-
> From: