com.ibm.db2.jcc.b.SQLException: The value of input host variable or parameter number "2" cannot be used because of its data type.

Oracle Community | 3004 | 1 decade ago
  1. 0

    Db2 & Kodo:  Date and Timestamp problem

    Oracle Community | 1 decade ago | 3004
    com.ibm.db2.jcc.b.SQLException: The value of input host variable or parameter number "2" cannot be used because of its data type.
  2. 0

    Cryptic JDBC exception

    Google Groups | 1 decade ago | Tom Davies
    com.ibm.db2.jcc.b.SQLException: 5
  3. 0

    hibernate and db2 using com.ibm.db2.jcc.DB2Driver

    Google Groups | 1 decade ago | Steven
    com.ibm.db2.jcc.b.SQLException: ACCOUNT_BALANCE
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    is an undefined name

    Google Groups | 1 decade ago | clogon
    com.ibm.db2.jcc.b.SQLException: "DB2ADMIN.intakeBeanTable" is an undefined name.
  6. 0

    Hibernate 3.1 and db2 connecting using com.ibm.db2.jcc.DB2Driver

    Google Groups | 1 decade ago | Steven
    com.ibm.db2.jcc.b.SQLException: ACCOUNT_BALANCE

    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. com.ibm.db2.jcc.b.SQLException

      The value of input host variable or parameter number "2" cannot be used because of its data type.

      at com.ibm.db2.jcc.b.ce.e()
    2. com.ibm.db2
      ce.a
      1. com.ibm.db2.jcc.b.ce.e(ce.java:1093)
      2. com.ibm.db2.jcc.b.ce.a(ce.java:884)
      2 frames
    3. IBM DB2
      bp.h
      1. com.ibm.db2.jcc.a.bd.n(bd.java:535)
      2. com.ibm.db2.jcc.a.bd.i(bd.java:228)
      3. com.ibm.db2.jcc.a.bd.c(bd.java:54)
      4. com.ibm.db2.jcc.a.r.c(r.java:53)
      5. com.ibm.db2.jcc.a.bp.h(bp.java:156)
      5 frames
    4. com.ibm.db2
      cf.executeQuery
      1. com.ibm.db2.jcc.b.ce.j(ce.java:880)
      2. com.ibm.db2.jcc.b.cf.a(cf.java:1516)
      3. com.ibm.db2.jcc.b.cf.executeQuery(cf.java:303)
      3 frames
    5. com.solarmetric.datasource
      PreparedStatementWrapper.executeQuery
      1. com.solarmetric.datasource.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:93)
      1 frame
    6. com.solarmetric.kodo
      PersistenceManagerImpl.getObjectById
      1. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedQueryInternal(SQLExecutionManagerImpl.java:707)
      2. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQueryInternal(SQLExecutionManagerImpl.java:600)
      3. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:355)
      4. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:339)
      5. com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.loadByPK(ClassMapping.java:940)
      6. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStoreManager.java:388)
      7. com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:215)
      8. com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:1278)
      9. com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1179)
      9 frames
    7. au.com.aig
      AgentProductionReportTest.testGetAgentProductionReportId
      1. au.com.aig.aiaa.services.productionreports.test.AgentProductionReportTest.testGetAgentProductionReportId(AgentProductionReportTest.java:65)
      1 frame
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    9. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:166)
      2. junit.framework.TestCase.runBare(TestCase.java:140)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:131)
      7. junit.framework.TestSuite.runTest(TestSuite.java:173)
      8. junit.framework.TestSuite.run(TestSuite.java:168)
      8 frames
    10. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:329)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:218)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:151)
      3 frames