HHH-5200 - Prepare to use H2 as the default testing datbase

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19456 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2010-05-10 21:48:24 +00:00
parent 4ed976e4ba
commit bb8f915859
1 changed files with 6 additions and 0 deletions

View File

@ -314,4 +314,10 @@ public class H2Dialect extends Dialect {
public boolean supportsTupleDistinctCounts() {
return false;
}
@Override
public boolean doesReadCommittedCauseWritersToBlockReaders() {
// see http://groups.google.com/group/h2-database/browse_thread/thread/562d8a49e2dabe99?hl=en
return true;
}
}