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

Jiri Peterka (JIRA) issues at jboss.org
Tue Jul 15 06:04:30 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-9718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985096#comment-12985096 ] 

Jiri Peterka commented on JBIDE-9718:
-------------------------------------

Dali issue not yet fixed

> 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: Koen Aers
>             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 was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list