java.sql.SQLException: TDS Protocol error: Invalid packet type 0x0 at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2210) at net.sourceforge.jtds.jdbc.TdsCore.getNextRow(TdsCore.java:720) at net.sourceforge.jtds.jdbc.JtdsResultSet.next(JtdsResultSet.java:513) at net.sourceforge.jtds.jdbc.CachedResultSet.cursorCreate(CachedResultSet.java:349) at net.sourceforge.jtds.jdbc.CachedResultSet.<init>(CachedResultSet.java:134) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:297) at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1041)

jtds | kresho | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can't open scrollable ResultSet with sybase 11.9

    jtds | 1 decade ago | kresho
    java.sql.SQLException: TDS Protocol error: Invalid packet type 0x0 at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2210) at net.sourceforge.jtds.jdbc.TdsCore.getNextRow(TdsCore.java:720) at net.sourceforge.jtds.jdbc.JtdsResultSet.next(JtdsResultSet.java:513) at net.sourceforge.jtds.jdbc.CachedResultSet.cursorCreate(CachedResultSet.java:349) at net.sourceforge.jtds.jdbc.CachedResultSet.<init>(CachedResultSet.java:134) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:297) at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1041)
  2. 0

    passing ArrayList to stored procedure:java.sql.SQLException: invalid name pattern: - Spring Forum

    spring.io | 1 year ago
    java.sql.SQLException: invalid name pattern: ATS.CONTACT_OBJ_ARRAY at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:134) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:179) at oracle.jdbc.oracore.OracleTypeADT.initMetadata(Ora cleTypeADT.java:503) at oracle.jdbc.oracore.OracleTypeADT.init(OracleTypeA DT.java:406) at oracle.sql.ArrayDescriptor.initPickler(ArrayDescri ptor.java:1952) at oracle.sql.ArrayDescriptor.<init>(ArrayDescriptor. java:160) at MyObjectArray.createTypeValue(MyObjectArray.java:3 3) at org.springframework.jdbc.core.support.AbstractSqlT ypeValue.setTypeValue(AbstractSqlTypeValue.java:58 ) at org.springframework.jdbc.core.StatementCreatorUtil s.setParameterValue(StatementCreatorUtils.java:108 ) at org.springframework.jdbc.core.StatementCreatorUtil s.setParameterValue(StatementCreatorUtils.java:68) at org.springframework.jdbc.core.CallableStatementCre atorFactory$CallableStatementCreatorImpl.createCal lableStatement(CallableStatementCreatorFactory.jav a:194) at org.springframework.jdbc.core.JdbcTemplate.execute (JdbcTemplate.java:816) at org.springframework.jdbc.core.JdbcTemplate.call(Jd bcTemplate.java:855) at org.springframework.jdbc.object.StoredProcedure.ex ecute(StoredProcedure.java:112) at OracleSpringStoredProcedureDAO.executeProcedure(Or acleSpringStoredProcedureDAO.java:32)

    Root Cause Analysis

    1. java.sql.SQLException

      TDS Protocol error: Invalid packet type 0x0 at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2210) at net.sourceforge.jtds.jdbc.TdsCore.getNextRow(TdsCore.java:720) at net.sourceforge.jtds.jdbc.JtdsResultSet.next(JtdsResultSet.java:513) at net.sourceforge.jtds.jdbc.CachedResultSet.cursorCreate(CachedResultSet.java:349) at net.sourceforge.jtds.jdbc.CachedResultSet.<init>(CachedResultSet.java:134) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:297) at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1041)

      at Test.main()
    2. Unknown
      Test.main
      1. Test.main(Test.java:18)
      1 frame