java.lang.ClassCastException: java.lang.String

hsqldb | marcwick | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    hsqldb 1.7.2.5 and c-jdbc

    hsqldb | 1 decade ago | marcwick
    java.lang.ClassCastException: java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at org.hsqldb.rowio.RowOutputBase.writeData()
    2. HSQLDB
      jdbcStatement.executeUpdate
      1. org.hsqldb.rowio.RowOutputBase.writeData(RowOutputBase.java:276)
      2. org.hsqldb.rowio.RowOutputBase.writeData(RowOutputBase.java:188)
      3. org.hsqldb.scriptio.ScriptWriterText.writeRow(ScriptWriterText.java:126)
      4. org.hsqldb.Log.writeInsertStatement(Log.java:517)
      5. org.hsqldb.Logger.writeInsertStatement(Logger.java:218)
      6. org.hsqldb.Table.insertNoCheck(Table.java:1737)
      7. org.hsqldb.Table.insertRow(Table.java:1686)
      8. org.hsqldb.Table.insert(Table.java:1669)
      9. org.hsqldb.CompiledStatementExecutor.executeInsertValuesStatement(CompiledStatementExecutor.java:303)
      10. org.hsqldb.CompiledStatementExecutor.executeImpl(CompiledStatementExecutor.java:126)
      11. org.hsqldb.CompiledStatementExecutor.execute(CompiledStatementExecutor.java:89)
      12. org.hsqldb.Session.sqlExecuteCompiledNoPreChecks(Session.java:957)
      13. org.hsqldb.DatabaseCommandInterpreter.executePart(DatabaseCommandInterpreter.java:225)
      14. org.hsqldb.DatabaseCommandInterpreter.execute(DatabaseCommandInterpreter.java:164)
      15. org.hsqldb.Session.sqlExecuteDirectNoPreChecks(Session.java:952)
      16. org.hsqldb.Session.execute(Session.java:843)
      17. org.hsqldb.jdbc.jdbcStatement.fetchResult(jdbcStatement.java:1570)
      18. org.hsqldb.jdbc.jdbcStatement.executeUpdate(jdbcStatement.java:219)
      18 frames
    3. org.objectweb.cjdbc
      BackendWorkerThread.run
      1. org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeUpdateRequestOnBackend(AbstractLoadBalancer.java:362)
      2. org.objectweb.cjdbc.controller.loadbalancer.tasks.WriteRequestTask.execute(WriteRequestTask.java:158)
      3. org.objectweb.cjdbc.controller.loadbalancer.BackendWorkerThread.run(BackendWorkerThread.java:409)
      3 frames