openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1757057 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryTimeout.java
Date Sun, 21 Aug 2016 13:16:28 GMT
Author: struberg
Date: Sun Aug 21 13:16:28 2016
New Revision: 1757057

URL: http://svn.apache.org/viewvc?rev=1757057&view=rev
Log:
OPENJPA-2658 also drop trigger T1 which prevents dropping of the function

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryTimeout.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryTimeout.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryTimeout.java?rev=1757057&r1=1757056&r2=1757057&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryTimeout.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryTimeout.java
Sun Aug 21 13:16:28 2016
@@ -905,6 +905,7 @@ public class TestQueryTimeout extends SQ
             getLog().trace("setupCreateDBFunction()");
             // remove existing function if it exists and recreate
             try {
+                exec(true, 0, "DROP TRIGGER t1");
                 exec(true, 0, "DROP FUNCTION DELAY");
                 exec(false, 0, "CREATE FUNCTION DELAY(SECONDS INTEGER, " + 
                     "VALUE INTEGER) RETURNS INTEGER PARAMETER STYLE JAVA " +
@@ -1134,6 +1135,4 @@ public class TestQueryTimeout extends SQ
         return value;
     }
 
-    public static void main(String[] args) {
-    }
 }



Mime
View raw message