You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by st...@apache.org on 2016/08/21 13:16:28 UTC
svn commit: r1757057 -
/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryTimeout.java
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) {
- }
}