Unable to unwrap vendor specific JDBC types in EAP 6

Solution Verified - Updated -

Issue

  • java.sql.SQLException on statement.unwrap(oracle.jdbc.OracleCallableStatement.class)
  • java.lang.ClassCastException: oracle.jdbc.driver.OracleCallableStatementWrapper cannot be cast to oracle.jdbc.OracleCallableStatement

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6
  • JDBC / All Databases

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.