Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-844

Can't use oracle.jdbc.OracleDriver with DataSourceExtensionPoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.4.2, 2.5
    • 2.4.1
    • None
    • None

      The DataSourceExtensionPoint class only handles oracle.jdbc.driver.OracleDriver oracle driver. oracle.jdbc.OracleDriver has to be used now.

      Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Could not create a validated object, cause: ValidateObject failed
      	at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:114)
      	at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.init(JdbcTransaction.java:48)
      	at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.getConnection(JdbcTransaction.java:89)
      	at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123)
      	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:615)
      	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:589)
      	at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118)
      	at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:95)
      	... 57 more
      Caused by: java.util.NoSuchElementException: Could not create a validated object, cause: ValidateObject failed
      	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1191)
      	at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
      	... 65 more
      

            ngavalda Nicolas Gavalda (Inactive)
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: