Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2658

TestQueryTimeout test is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 3.0.0
    • jdbc
    • None

    Description

      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)

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: