[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9718) Multiple NamedQuery is not read by JPA details where there is NamedQueries after them
Jiri Peterka (JIRA)
jira-events at lists.jboss.org
Thu Sep 15 09:47:26 EDT 2011
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: 3.3.0.M4
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list