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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.