]
Max Rydahl Andersen updated JBIDE-9718:
---------------------------------------
Assignee: Koen Aers (was: Dmitry Geraskov)
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({(a)javax.persistence.NamedQuery(name = "query3", query =
"abcd"),(a)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
For more information on JIRA, see: