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