supportedjava.sql.SQLException: Unsupported feature

Spring JIRA | Oleksandr Gavenko | 3 years 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

    This logging output shown more than any words: {noformat} 14:40:48.525 DEBUG org.hibernate.SQL Caller+0 at org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:104) => update DATA_24 set ... where ROWID = ? ..... 14:40:48.545 TRACE org.springframework.jdbc.core.StatementCreatorUtils Caller+0 at org.springframework.jdbc.core.StatementCreatorUtils.setParameterValueInternal(StatementCreatorUtils.java:206) => Setting SQL statement parameter value: column index 7, parameter value [null], value class [null], SQL type unknown 14:40:48.606 DEBUG org.springframework.jdbc.core.StatementCreatorUtils Caller+0 at org.springframework.jdbc.core.StatementCreatorUtils.setNull(StatementCreatorUtils.java:234) => JDBC 3.0 getParameterType call not supportedjava.sql.SQLException: Unsupported feature at oracle.jdbc.driver.OracleParameterMetaData.getParameterType(OracleParameterMetaData.java:166) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at org.springframework.jdbc.core.StatementCreatorUtils.setNull(StatementCreatorUtils.java:231) [spring-jdbc-3.2.4.RELEASE.jar:3.2.4.RELEASE] .... {noformat} Related bugs: SPR-10185 SPR-10385 SPR-6000 fixed but dumping a long trace from {{OracleParameterMetaData.getParameterType}} is unnecessary because of stupid logging logic of {{StatementCreatorUtils.setNull}} My logback logging settings: {noformat} <logger level="trace" name="org.springframework.jdbc.core"/> <logger level="trace" name="org.hibernate.type"/> <logger level="trace" name="org.springframework.jdbc.core"/> {noformat}

    Spring JIRA | 3 years ago | Oleksandr Gavenko
    supportedjava.sql.SQLException: Unsupported feature
  2. 0

    This logging output shown more than any words: {noformat} 14:40:48.525 DEBUG org.hibernate.SQL Caller+0 at org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:104) => update DATA_24 set ... where ROWID = ? ..... 14:40:48.545 TRACE org.springframework.jdbc.core.StatementCreatorUtils Caller+0 at org.springframework.jdbc.core.StatementCreatorUtils.setParameterValueInternal(StatementCreatorUtils.java:206) => Setting SQL statement parameter value: column index 7, parameter value [null], value class [null], SQL type unknown 14:40:48.606 DEBUG org.springframework.jdbc.core.StatementCreatorUtils Caller+0 at org.springframework.jdbc.core.StatementCreatorUtils.setNull(StatementCreatorUtils.java:234) => JDBC 3.0 getParameterType call not supportedjava.sql.SQLException: Unsupported feature at oracle.jdbc.driver.OracleParameterMetaData.getParameterType(OracleParameterMetaData.java:166) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at org.springframework.jdbc.core.StatementCreatorUtils.setNull(StatementCreatorUtils.java:231) [spring-jdbc-3.2.4.RELEASE.jar:3.2.4.RELEASE] .... {noformat} Related bugs: SPR-10185 SPR-10385 SPR-6000 fixed but dumping a long trace from {{OracleParameterMetaData.getParameterType}} is unnecessary because of stupid logging logic of {{StatementCreatorUtils.setNull}} My logback logging settings: {noformat} <logger level="trace" name="org.springframework.jdbc.core"/> <logger level="trace" name="org.hibernate.type"/> <logger level="trace" name="org.springframework.jdbc.core"/> {noformat}

    Spring JIRA | 3 years ago | Oleksandr Gavenko
    supportedjava.sql.SQLException: Unsupported feature

    Root Cause Analysis

    1. supportedjava.sql.SQLException

      Unsupported feature

      at oracle.jdbc.driver.OracleParameterMetaData.getParameterType()
    2. Oracle jdbc
      OracleParameterMetaData.getParameterType
      1. oracle.jdbc.driver.OracleParameterMetaData.getParameterType(OracleParameterMetaData.java:166)[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0]
      1 frame
    3. Spring Framework
      StatementCreatorUtils.setNull
      1. org.springframework.jdbc.core.StatementCreatorUtils.setNull(StatementCreatorUtils.java:231)[spring-jdbc-3.2.4.RELEASE.jar:3.2.4.RELEASE]
      1 frame