How to configure statementInterceptors for MySql XA datasources

Solution Unverified - Updated -

Issue

Is it possible to configure statementInterceptors for XA datasources?
We are used to configuring it for non XA datasources and it works really well. But for XA datasources though it doesn't seem to be possible.
Are there any working examples we can look at? We use it for debugging DB queries through MySql enterprise dashboard.

Environment

JBoss Enterprise Application Platform (EAP) 6.0.1

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.