Misuse of new-connection-sql in JBoss

Solution Unverified - Updated -

Issue

  • new-connection-sql is defined with a no op SQL statement (no effect)
  • <new-connection-sql>SELECT 1 FROM DUAL</new-connection-sql>
  • <new-connection-sql>select 1 from dual</new-connection-sql>
  • Does <new-connection-sql>select 1 from sysibm.sysdummy1</new-connection-sql> validate new connections before making it available to the application?

Environment

  • Red Hat JBoss Enterprise Application Platform 5, 6, 7
  • new-connection-sql as defined in
    • jboss-as-datasources_1_0.xsd
    • jboss-as-datasources_1_1.xsd

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