mirror of
https://github.com/apache/openjpa.git
synced 2025-02-22 01:55:29 +00:00
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:
parent
c816683d08
commit
0bc9685aa7
@ -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");
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user