java.sql.SQLException

[Microsoft][SQLServer JDBC Driver][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef3) is not valid.


Solutions on the web14498

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
[Microsoft][SQLServer JDBC Driver][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef3) is not valid.

Solution icon of googlegroups
[Microsoft][SQLServer JDBC | Driver][SQLServer]sp_cursorclose: The cursor identifier value provided | (abcdf03) is not valid.

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
[Microsoft][SQLServer JDBC Driver][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef0) is not valid.

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef0) is not valid.

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef0) is not valid.

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef0) is not valid.

Solution icon of googlegroups
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]sp_cursorclose: The cursor identifier value provided (0) is not valid.

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef4) is not valid.

Solution icon of web
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef4) is not valid.

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef0) is not valid.

Stack trace

  • java.sql.SQLException: [Microsoft][SQLServer JDBC Driver][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef3) is not valid. at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(UnknownSource) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(UnknownSource) at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(UnknownSource) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.closeCursor(UnknownSource) at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.completeRowProcessing(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplResultSet.close(UnknownSource) at com.microsoft.jdbc.base.BaseResultSet.close(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.close(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.close(Unknown Source) at com.solarmetric.datasource.StatementWrapper.close(StatementWrapper.java:201) at com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.destroy(PreparedStatementCache.java:278) at com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.close(PreparedStatementCache.java:365) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.close(SQLExecutionManagerImpl.java:997) at com.solarmetric.kodo.impl.jdbc.ormapping.LobMapping.load(LobMapping.java:73) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:455) at com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:2280) at com.solarmetric.kodo.runtime.StateManagerImpl.checkDefaultFetchGroup(StateManagerImpl.java:2213) at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:222) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:1310) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1228) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet(JDBCStoreManager.java:917) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$3.getResultObject(JDBCStoreManager.java:1096) at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:187) at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:130) at java.util.AbstractList$Itr.next(AbstractList.java:416) at com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultListIterator.java:49) at com.solarmetric.kodo.impl.jdbc.runtime.ResultListFactory.createResultList(ResultListFactory.java:91) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCStoreManager.java:1088) at com.solarmetric.kodo.impl.jdbc.query.JDBCQuery.executeQuery(JDBCQuery.java:106) at com.solarmetric.kodo.query.QueryImpl$DatastoreQueryExecutor.executeQuery(QueryImpl.java:1547) at com.solarmetric.kodo.query.QueryImpl.executeQueryWithMap(QueryImpl.java:668) at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:533) at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:483) at com.ipacs.als.test.Test.main(Test.java:95)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.