org.springframework.jdbc.UncategorizedSQLException: CallableStatementCallback; uncategorized SQLException for SQL [{call PKG_BATCH.selectFileBatch(?, ?, ?, ?, ?)}]; SQL state [99999]; error code [17004]; Tipo di colonna non valido: 2012; nested exception is java.sql.SQLException: Tipo di colonna non valido: 2012

Stack Overflow | Prometeo6 | 3 months 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

    Hive jdbc.query(sql, rowmapper) throws UnCatogarized exception

    Stack Overflow | 2 years ago | srikanth
    org.springframework.jdbc.UncategorizedSQLException: StatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; null; nested exception is java.sql.SQLException
  2. 0

    postgresql数据库jdbc批处理操作失败

    GitHub | 1 year ago | Andy178
    org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [……]; SQL state [26000]; error code [0];

  1. mellson 2 times, last 11 months ago
1 unregistered visitors
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

    Tipo di colonna non valido: 2012

    at oracle.jdbc.driver.OracleStatement.getInternalType()
  2. Oracle jdbc
    OracleCallableStatementWrapper.registerOutParameter
    1. oracle.jdbc.driver.OracleStatement.getInternalType(OracleStatement.java:4188)
    2. oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:129)
    3. oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:326)
    4. oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:574)
    5. oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1603)
    5 frames
  3. Spring Framework
    StoredProcedure.execute
    1. org.springframework.jdbc.core.CallableStatementCreatorFactory$CallableStatementCreatorImpl.createCallableStatement(CallableStatementCreatorFactory.java:198)
    2. org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:1010)
    3. org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:1066)
    4. org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:144)
    4 frames
  4. org.apache.camel
    SqlStoredProducer.process
    1. org.apache.camel.component.sql.stored.TemplateStoredProcedure.execute(TemplateStoredProcedure.java:74)
    2. org.apache.camel.component.sql.stored.CallableStatementWrapper.populateStatement(CallableStatementWrapper.java:104)
    3. org.apache.camel.component.sql.stored.SqlStoredProducer$1.execute(SqlStoredProducer.java:69)
    4. org.apache.camel.component.sql.stored.CallableStatementWrapper.call(CallableStatementWrapper.java:55)
    5. org.apache.camel.component.sql.stored.SqlStoredProducer.process(SqlStoredProducer.java:43)
    5 frames
  5. Camel :: Core
    ScheduledPollConsumer.run
    1. org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
    2. org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:173)
    3. org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:341)
    4. org.apache.camel.processor.SendProcessor.process(SendProcessor.java:168)
    5. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
    6. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:196)
    7. org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
    8. org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
    9. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:196)
    10. org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:681)
    11. org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:609)
    12. org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:238)
    13. org.apache.camel.processor.Splitter.process(Splitter.java:108)
    14. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
    15. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:196)
    16. org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
    17. org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
    18. org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117)
    19. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
    20. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:196)
    21. org.apache.camel.processor.TryProcessor.process(TryProcessor.java:113)
    22. org.apache.camel.processor.TryProcessor.process(TryProcessor.java:84)
    23. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
    24. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:196)
    25. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:196)
    26. org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454)
    27. org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:226)
    28. org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:190)
    29. org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:175)
    30. org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:102)
    30 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    7. java.lang.Thread.run(Unknown Source)
    7 frames