OPENJPA-1616 Fix TestTimeoutException tests for Oracle and re-enable for DB2

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932195 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2010-04-09 00:35:34 +00:00
parent fc4a875fc6
commit 9b445c7bc2
2 changed files with 1 additions and 4 deletions

View File

@ -164,7 +164,7 @@
</dictionary>
<dictionary class="org.apache.openjpa.jdbc.sql.OracleDictionary">
<lock>42000,61000</lock>
<lock>42000,61000,72000</lock>
<referential-integrity>1,1400,1722,2291,2292</referential-integrity>
<object-exists>23000</object-exists>
<object-not-found></object-not-found>

View File

@ -43,9 +43,6 @@ public class TestTimeoutException extends SingleEMFTestCase {
private final Class<?> entityClass = PObject.class;
public void setUp() {
// TODO - Hack until OPENJPA-1594 is addressed
setUnsupportedDatabases(OracleDictionary.class, DB2Dictionary.class);
// Disable tests for any DB that has supportsSelectForUpdate==false, like HSQLDictionary
OpenJPAEntityManagerFactorySPI tempEMF = emf;
if (tempEMF == null) {