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

[hib-tools] jpa-ql auto-complete broken when query formatted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 4.2.0.Beta2
    • 4.0.1.Final
    • hibernate
    • None

    Description

      Just trying out the hibernate tools for a JPA1 project, and just curious if this is expected or not when dealing with formatted (i.e. eclipse ctrl-shift-F) long queries:

      @NamedQueries(

      { @NamedQuery(name ="mytestitem", query="select o from mycustomobject o where o.id = :id"}

      ),

      @NamedQuery(name ="mytestitem2", query="select o from mycustomobject o" +

      + " where o.id = :id"})

      })

      The o. (ctrl-space, select id from pulldown) works on the first mytestitem query, but the second one does not.

      Note this appears to be a duplicate of https://issues.jboss.org/browse/JBIDE-437, but that ticket was closed in 2007 without a reference to an 'hbx' ticket, but the scenario described is the current issue.

      Attachments

        Activity

          People

            kaers@redhat.com Koen Aers
            dhartford@changehealthcare.com Darren Hartford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: