How to validate that a connection is 'clean', with no XA resources/ghosts attached before use.

Solution Verified - Updated -

Issue

  • validate-on-match checks the validity of the physical connection each time one is requested from the connection pool.
  • need to validate that the connection is 'clean', meaning there are no open transactions, no locks, no held buffers, no cursors, no temporary objects...(Much like if a ‘exec sp_reset_connection’ (oracle specific) is called).

Environment

  • JBoss Enterprise Application Platform

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