Hi

There is a peculiar problem with one of my entity beans. It has two fields
bankID and bankname.If I am changing the PK field in PK class from bankID to
bankname and calling a business method. The method is never executed.EJBLoad
is failing and the following message is seen .The database is SQL 2000, the
driver being MS SQL JDBC beta 2.0.


[2002-03-05 11:51:17,375,JDBCCommand,DEBUG] Load command executing: SELECT
BANKDATATABLE_Test.branchname,BANKDATATABLE_Test.bankID,BANKDATATABLE_Test.B
ANKDATAXML FROM BANKDATATABLE_Test WHERE branchname=?
[2002-03-05 11:51:17,375,JDBCCommand,DEBUG] Set parameter: idx=1,
jdbcType=VARCHAR, value=system435
[2002-03-05 11:51:17,375,EChequeBankPool,DEBUG] Pool EChequeBankPool
[0/0/Unlimited] destroyed object
org.jboss.resource.adapter.jdbc.local.JDBCManagedConnection@4278b5.
[2002-03-05 11:51:17,375,JDBCCommand,DEBUG] Unable to read from ResultSet:
java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]ResultSet can not
re-read row data for column 1.

Can any one suggest me why the connection is getting destroyed?



Thanx in anticipation





_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to