How to configure CLOSE_CURSORS_AT_COMMIT option for db2 datasource?

Solution Unverified - Updated -

Issue

  • How to set the db2 driver to CLOSE_CURSORS_AT_COMMIT and the default is HOLD_CURSORS_OVER_COMMIT?

  • DB2 tables getting locked due to the jdbc driver using its default value - HOLD_CURSORS_OVER_COMMIT.

Environment

  • Red Hat JBoss Enterprise Application Platform 6.x

  • IBM DB2 driver

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