Mark Struberg created OPENJPA-2658:
--------------------------------------
Summary: TestQueryTimeout test is broken
Key: OPENJPA-2658
URL: https://issues.apache.org/jira/browse/OPENJPA-2658
Project: OpenJPA
Issue Type: Bug
Components: jdbc
Affects Versions: 2.4.1
Reporter: Mark Struberg
Assignee: Mark Struberg
Fix For: 3.0.0
TestQueryTimeout fails because it cannot create the stored procedure.
747 test INFO [main] openjpa.jdbc.JDBC - Connected to Apache Derby version
10.10 using JDBC driver Apache Derby Embedded JDBC Driver version 10.12.1.1 -
(1704137).
org.apache.openjpa.lib.jdbc.ReportingSQLException: Operation 'DROP ROUTINE'
cannot be performed on object 'DELAY' because TRIGGER 'T1' is dependent on that
object. {stmnt 1978732023 DROP FUNCTION DELAY} [code=30000, state=X0Y25]
...
at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelStatement.execute(JDBCStoreManager.java:1711)
at
org.apache.openjpa.lib.jdbc.DelegatingStatement.execute(DelegatingStatement.java:122)
at
org.apache.openjpa.persistence.query.TestQueryTimeout.exec(TestQueryTimeout.java:1025)
at
org.apache.openjpa.persistence.query.TestQueryTimeout.setupCreateDBFunction(TestQueryTimeout.java:908)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)