Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.7.x
    • Fix Version/s: 7.7.0, 7.7.0-alpha1
    • Component/s: engine
    • Labels:
      None

      Description

      Use count to retrieve the number of rows of a table instead of reading all rows into memory and using List.size() / List.isEmpty().

      Background:
      The PurgeDatabaseTest failed when run against an IBM Informix database instance.
      The Informix JDBC driver handles the long varchar columns like ACT_HI_DEC_IN.TEXT_ as JDBC-type CLOB if not explitcitly specified.
      When using the generic approach (TableData) for reading data this gives an error for unknown reason. The regular access of the data through the spcific mapping (HistoricDecisionInputInstance) works fine, as here jdbcType is set to VARCHAR.
      As the testcase is just interested in the fact if there are any rows or not in the table using the "select count" is sufficient. No need to read the data.

        Activity

        Show
        langfr Frank Langelage added a comment - https://github.com/camunda/camunda-bpm-platform/pull/263
        Hide
        christopher.zell Christopher Zell added a comment -

        Thanks Frank you're right. I will take a look into the pull request.

        Best regards,
        Chris

        Show
        christopher.zell Christopher Zell added a comment - Thanks Frank you're right. I will take a look into the pull request. Best regards, Chris
        Hide
        christopher.zell Christopher Zell added a comment -

        Hey Frank,

        thanks for your contribution I merged your PR into the master (206bacc).

        Best regards,
        Chris

        Show
        christopher.zell Christopher Zell added a comment - Hey Frank, thanks for your contribution I merged your PR into the master ( 206bacc ). Best regards, Chris

          People

          • Assignee:
            Unassigned
            Reporter:
            langfr Frank Langelage
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development