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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content