When using Oracle OCI driver, <new-connection-sql> is not working

Solution Unverified - Updated -

Issue

  • The parameter <new-connection-sql> is not applied when setting 'oci' mode in JDBC (Ex. jdbc:oracle:oci@)

The configuration is:

<new-connection-sql>
***
</new-connection-sql>

The same configuration works when using the THIN configuration (Ex. jdbc:oracle:thin@)

Environment

  • Red Hat JBoss Enterprise Application Platform 6
  • Oracle JDBC OCI Driver 11.2.0.3
  • SGBD Oracle 11.2.0.3 Server

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.