OPENJPA 222 fix for test case

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530574 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David J. Wisneski 2007-04-19 22:21:36 +00:00
parent c816683d08
commit 0bc9685aa7
2 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ public class TestIsolationLevelOverride
+ " FOR READ ONLY WITH RR USE AND KEEP EXCLUSIVE "
+ "LOCKS");
}
else {
else if (dict instanceof DB2Dictionary) {
fail("OpenJPA currently only supports per-query isolation "
+ "level configuration on the following databases: DB2");
}
@ -161,7 +161,7 @@ public class TestIsolationLevelOverride
+ " FOR READ ONLY WITH RR USE AND KEEP EXCLUSIVE LOCKS"
+ " optimize for 1 row");
}
else {
else if (dict instanceof DB2Dictionary) {
fail("OpenJPA currently only supports per-query isolation "
+ "level configuration on the following databases: DB2");
}

View File

@ -94,7 +94,7 @@ public class TestSelectForUpdateOverride
+ " FOR READ ONLY WITH RS USE AND KEEP EXCLUSIVE LOCKS"
+ " optimize for 1 row");
}
else {
else if (dict instanceof DB2Dictionary) {
fail("OpenJPA currently only supports per-query isolation " +
"level configuration on the following databases: DB2");
}