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 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.