java.lang.NoSuchMethodError: oracle.jdbc.internal.OracleConnection.getProtocolType()Ljav a/lang/String;

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Querying Oracle XMLDB
    via by 398171,
  • Creating an XMLDocument from XMLType
    via by 364693,
  • OCI driver XMLType issue
    via by 33083,
  • Problems using XMLType
    via by su*398506*rt,
  • thin vs OCI re XMLTYPE, CLOB, etc.
    via by 7756,
  • sqlException XMLType
    via by 74200,
  • XMLType problem
    via by 388017,
  • Get XML from XDB Error
    via by 398402,
    • java.lang.NoSuchMethodError: oracle.jdbc.internal.OracleConnection.getProtocolType()Ljav a/lang/String; at oracle.xdb.XMLType.initConn(XMLType.java:2072) at oracle.xdb.XMLType.<init>(XMLType.java:903) at oracle.xdb.XMLType.createXML(XMLType.java:493) at oracle.xdb.XMLTypeFactory.create(XMLTypeFactory.java:65) at oracle.sql.OPAQUE.toClass(OPAQUE.java:558) at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:469) at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5968) at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5833) at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:765) at OracleQuery.main(OracleQuery.java:26)
    No Bugmate found.