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

Code Assist not work in HQL Editor when configuration was not loaded.

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • 2.0.1
    • 2.0.1
    • hibernate
    • None

    Description

      Steps to reproduce:
      1. Start IDE with any project and hibernate console configuration
      2. Open Hibernate Configurations View
      3. Right Click on the first console configuration in view's tree
      4. In context menu select HQL Editor
      => this console configuration will be selected in the top of HQL Editor
      (it is still not loaded as we haven't expanded it in view)
      5. If you have entity named "Customer" for example write "from Cus" in the editor and press Ctrl+Space
      6. Observe that no message shown and Code Assist not works.
      =>It happends because selected console configuration still not loaded.
      7. Expand in Hibernate Console Configguration selected configuration
      => Now it is loaded
      8. Repeat step 7
      9. Observe that Code Assist works all right.

      As I think should be shown message box with question like this: "Console configuration not loaded. Do you want load it now?"

      Attachments

        1. patch.txt
          5 kB
          Dmitry Geraskov

        Issue Links

          Activity

            People

              dgeraskov Dmitry Geraskov (Inactive)
              dgeraskov Dmitry Geraskov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: