[jbosstools-issues] [JBoss JIRA] (JBIDE-15166) [hib-tools] jpa-ql auto-complete broken when query formatted

Koen Aers (JIRA) issues at jboss.org
Thu May 22 09:34:56 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-15166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koen Aers resolved JBIDE-15166.
-------------------------------

      Assignee: Koen Aers
    Resolution: Duplicate Issue


> [hib-tools] jpa-ql auto-complete broken when query formatted
> ------------------------------------------------------------
>
>                 Key: JBIDE-15166
>                 URL: https://issues.jboss.org/browse/JBIDE-15166
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.0.1.Final
>         Environment: jboss dev studio 6.0.1.GA, windows7
>            Reporter: darren hartford
>            Assignee: Koen Aers
>             Fix For: 4.2.0.Beta2
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list