java.lang.ClassCastException: oracle.jdbc.driver.T4CConnection cannot be cast to oracle.jdbc.oci.OracleOCIConnection

Oracle Community | user9367995 | 2 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

    OracleOCIConnectionPool

    Oracle Community | 2 years ago | user9367995
    java.lang.ClassCastException: oracle.jdbc.driver.T4CConnection cannot be cast to oracle.jdbc.oci.OracleOCIConnection
  2. 0

    Problem using OracleOCIConnectionPool

    Oracle Community | 1 decade ago | 296090
    java.lang.ClassCastException: oracle.jdbc.driver.OracleConnection
  3. 0

    db:: 4.52::OCI-21522 using OracleOCIConnectionPool 9s

    hivmr.com | 11 months ago
    java.lang.ClassCastException: oracle.jdbc.driver.OracleConnection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      oracle.jdbc.driver.T4CConnection cannot be cast to oracle.jdbc.oci.OracleOCIConnection

      at oracle.jdbc.pool.OracleOCIConnectionPool.createConnectionPool()
    2. Oracle jdbc
      OracleOCIConnectionPool.setPoolConfig
      1. oracle.jdbc.pool.OracleOCIConnectionPool.createConnectionPool(OracleOCIConnectionPool.java:897)
      2. oracle.jdbc.pool.OracleOCIConnectionPool.setPoolConfig(OracleOCIConnectionPool.java:501)
      2 frames
    3. Unknown
      Teste2.main
      1. Teste2.<init>(Teste2.java:35)
      2. Teste2.main(Teste2.java:15)
      2 frames