You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by viren1 <vi...@modius.com> on 2008/06/02 21:24:24 UTC

iBatis 2.3.0.677, java.sql.SQLException: Invalid state, the ResultSet object is closed.

I am getting an exception "Invalid state, the ResultSet object is closed" 
after upgrading iBATIS from 2.2.0.638 to 2.3.0.677 and keeping the DAO
package version 2.2.0.638. I don't have this problem with iBATIS 2.2.0.638
version at all.
We are using JTDS 1.2.2 and MSSQL 2005.
Any suggestions?
thx.

--- The error happened while setting a property on the result object.  
--- Cause: java.sql.SQLException: Invalid state, the ResultSet object is
closed.
	at
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:185)
	at
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject(GeneralStatement.java:104)
	at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:566)
	at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:541)
	at
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:106)
	at
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:83)
	at
com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForObject(SqlMapDaoTemplate.java:223)
-- 
View this message in context: http://www.nabble.com/iBatis-2.3.0.677%2C-java.sql.SQLException%3A-Invalid-state%2C-the-ResultSet-object-is-closed.-tp17608843p17608843.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.