Execute SQL statement when connection is created in JBoss EAP

Solution Verified - Updated -

Issue

I think there is a way to run a SQL statement on a JDBC connection when the connection is first created (e.g. to set the schema)?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.3
    • 5.0

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