Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18224

Table Selection has poor performance if "Verify Database Connection" is checked in previous step

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.4.0.Final
    • 4.2.0.CR1
    • forge
    • None
    • Hide

      1) run JPA: Generate Entities From Tables wizard
      2) fill in Connection Profile Details
      3) Make sure "Verify Database Connection" is checked
      4) Hit next
      5) During table selection you should see that UI is blocked for some time

      http://youtu.be/nhD4VSx1XB8

      Show
      1) run JPA: Generate Entities From Tables wizard 2) fill in Connection Profile Details 3) Make sure "Verify Database Connection" is checked 4) Hit next 5) During table selection you should see that UI is blocked for some time http://youtu.be/nhD4VSx1XB8

      If the "Verify Database Connection" is checked then there is very poor performance in the next step during tables selection on JPA: Generate Entities From Tables wizard.

      I don't understand what is going on behind the scenes - but there is for sure some communication with DB happening. Not sure if this is necessary as the list of tables is read correctly and imho the list should be just checked if there is at least one table selected.

      It works without performance problems if "Verify Database Connection" was not checked in previous step.

            rhn-support-ggastald George Gastaldi
            psrna Pavol Srna
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: