Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2594

DbImport: AutoAdapter resolving inside an import operation hangs up the op on Hana DB

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.B2
    • Fix Version/s: 4.1.RC1, 4.2.M1
    • Component/s: dbimport, Modeler
    • Labels:
      None
    • Environment:
      Driver: com.sap.cloud.db.jdbc:ngdbc:2.4.56

      Description

      DbImport on Hana DB hangs up on a read operation, eventually throwing a couple different exceptions. This seems like a race condition between two JDBC connections (one used for reverse-engineering, another - for warming up Cayenne AutoAdapter). The errors are different on different runs; occasionally DbImport even succeeds.

      For now the fix is to warmup the adapter prior to the import operation. Pretty ugly.

        Attachments

        1. stuck.png
          266 kB
          Andrus Adamchik
        2. exception.png
          188 kB
          Andrus Adamchik

          Activity

            People

            • Assignee:
              andrus Andrus Adamchik
              Reporter:
              andrus Andrus Adamchik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: