Misuse of new-connection-sql in JBoss
Issue
new-connection-sqlis 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-sqlas defined injboss-as-datasources_1_0.xsdjboss-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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
