java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet can not re-read row data for column 2. [java] at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExceptions.java:64) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:461) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:2320) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.checkDefaultFetchGroup(StateManagerImpl.java:2221) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:222) [java] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:1310) [java] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1228) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet(JDBCStoreManager.java:916) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$3.getResultObject(JDBCStoreManager.java:1095) [java] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:199) [java] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:142) [java]

Oracle Community | 3004 | 1 decade ago
  1. 0

    SQL Server problem

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet can not re-read row data for column 2. [java] at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExceptions.java:64) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:461) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:2320) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.checkDefaultFetchGroup(StateManagerImpl.java:2221) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:222) [java] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:1310) [java] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1228) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet(JDBCStoreManager.java:916) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$3.getResultObject(JDBCStoreManager.java:1095) [java] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:199) [java] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:142) [java]
  2. 0

    setting auto-commit inside a transaction

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: You cannot set autocommit during a managed transaction! [java] at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.setJdbcAutoCommit(LocalManagedConnection.java:447) [java] at org.jboss.resource.adapter.jdbc.local.LocalConnection.setAutoCommit(LocalConnection.java:426) [java] at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnection(SQLExecutionManagerImpl.java:149) [java] at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.prepareStatementInternal(SQLExecutionManagerImpl.java:805) [java] at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedQueryInternal(SQLExecutionManagerImpl.java:760) [java] at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQueryInternal(SQLExecutionManagerImpl.java:692) [java] at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:373) [java] at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:357) [java] at com.solarmetric.kodo.impl.jdbc.ormapping.SubclassProviderImpl.getSubclasses(SubclassProviderImpl.java:231) [java] at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.getPrimaryMappingFields(ClassMapping.java:1093) [java] at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.loadByPK(ClassMapping.java:931) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStoreManager.java:263) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:174) [java] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:986) [java] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:888) [java] at im.jdo.JDOWorker$IssueWorker.getIssue(JDOWorker.java:952) [java] at im.jdo.JDOWorker$IssueWorker.getIssue(JDOWorker.java:810) [java] at im.jdo.JDOWorker$IssueWorker.access$2400(JDOWorker.java:789) [java]
  3. 0

    DB2 Batch Update Problem

    objectmix.com | 1 year ago
    java.sql.SQLException: Database operation failed. Update count for SQL statement was -2. Statement: INSERT INTO DB2ADMIN ANIMAL (JDOCLASS, JDOID, JDOVERSION, NAME0, PRICE) VALUES (?, ?, ?, ?, ?) at kodo.jdbc.sql.SQLExceptions.getFatalDataStore(SQLExceptions.java:42) at kodo.jdbc.sql.SQLExceptions.getFatalDataStore(SQLExceptions.java:24) at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:511) at kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:158) at kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.ja= va:788) at kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl= ..java:644) at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:69) at kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:416)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet can not re-read row data for column 2. [java] at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExceptions.java:64) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:461) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:2320) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.checkDefaultFetchGroup(StateManagerImpl.java:2221) [java] at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:222) [java] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:1310) [java] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1228) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet(JDBCStoreManager.java:916) [java] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$3.getResultObject(JDBCStoreManager.java:1095) [java] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:199) [java] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:142) [java]

      at java.util.AbstractList$Itr.next()
    2. Java RT
      AbstractList$Itr.next
      1. java.util.AbstractList$Itr.next(AbstractList.java:416)
      1 frame
    3. com.fcspartners.extranet
      ReadTest.main
      1. com.fcspartners.extranet.test.ReadTest.main(UnknownSource)
      1 frame