[jbosstools-issues] [JBoss JIRA] (JBIDE-9718) Multiple NamedQuery is not read by JPA details where there is NamedQueries after them

Dmitry Geraskov (Updated) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 19:12:42 EST 2011


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

Dmitry Geraskov updated JBIDE-9718:
-----------------------------------

    Fix Version/s: LATER
                       (was: 3.3.0.M5)

    
> Multiple NamedQuery is not read by JPA details where there is NamedQueries after them
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9718
>                 URL: https://issues.jboss.org/browse/JBIDE-9718
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 3.3.0.M3
>         Environment: jbdevstudio-product-eap-linux-gtk-x86_64-5.0.0.v201109142301R-H31-M3.jar, Fedora 15, 64-bit
>            Reporter: Jiri Peterka
>            Assignee: Dmitry Geraskov
>             Fix For: LATER
>
>
> Try this:
> @NamedQuery(name = "query1", query = "select f from Dog f", readOnly = true, flushMode = ALWAYS,cacheable = true, cacheMode = GET, cacheRegion = "2", fetchSize = 2, timeout = 2)
> @javax.persistence.NamedQuery(name = "query2", query = "select f from Dog f")
> @NamedQueries({@javax.persistence.NamedQuery(name = "query3", query = "abcd"), at javax.persistence.NamedQuery(name = "query4")})
> See in JPA Details, there is only query1, query3, query4. query2 is missing. When last row commented, query2 appears

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list