From c8d4c24d8dd86bda09fe1723e645b4c9109350aa Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Thu, 25 Sep 2008 22:04:01 +0000 Subject: [PATCH] HHH-3496 : DB2 hanging on JPALockTest and CMTTest git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15218 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- core/src/main/java/org/hibernate/dialect/DB2Dialect.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/java/org/hibernate/dialect/DB2Dialect.java b/core/src/main/java/org/hibernate/dialect/DB2Dialect.java index c8f623e0d3..acdc2bb514 100644 --- a/core/src/main/java/org/hibernate/dialect/DB2Dialect.java +++ b/core/src/main/java/org/hibernate/dialect/DB2Dialect.java @@ -393,4 +393,8 @@ public class DB2Dialect extends Dialect { public boolean supportsLobValueChangePropogation() { return false; } + + public boolean doesReadCommittedCauseWritersToBlockReaders() { + return true; + } }