How to configure CLOSE_CURSORS_AT_COMMIT option for db2 datasource?
Issue
-
How to set the
db2 drivertoCLOSE_CURSORS_AT_COMMITand the default isHOLD_CURSORS_OVER_COMMIT? -
DB2 tablesgetting locked due to thejdbc driverusing 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
