Safely using pooled connections in application code

Solution Verified - Updated -

Issue

  • How can connection leaks be avoided?
  • How should connection handling be coded in application code?
  • How should statement and result set objects be handled in application code?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) (all versions)
  • Red Hat JBoss Web Server (all versions)

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