[JBoss-user] MS SQL JBOSS question

2001-07-18 Thread Sanjeev.Srinivas
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

[JBoss-user] MS SQL and JBOSS problem - urgent help needed

2001-07-16 Thread Sanjeev.Srinivas
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

[JBoss-user] MS SQL JBOSS QUESTION - help needed

2001-07-16 Thread Sanjeev.Srinivas
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

[JBoss-user] MS SQL JBOSS QUESTION - help needed

2001-07-16 Thread Sanjeev.Srinivas
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

[JBoss-user] RE: JBoss-user digest, Vol 1 #1129 - 1 msg

2001-07-16 Thread Sanjeev.Srinivas
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

[JBoss-user] TRANSACTION ROLLBACK EXCEPTION - help wanted

2001-07-16 Thread Sanjeev.Srinivas
> 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

[JBoss-user] TRANSACTION ROLLBACK EXCEPTION - need help

2001-07-13 Thread Sanjeev.Srinivas
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

[JBoss-user] RE: Clarification about the User Defined Prmary key class

2001-07-13 Thread Sanjeev.Srinivas
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: