Community
Participate
Working Groups
Try this: 1. Create JPA project 2. Create JPA entity 3. Add this named queries @NamedQuery(name = "query1", query = "select f from Dog f") @NamedQueries(value = { @NamedQuery(name = "query2", query = "select f from Dog f"), @NamedQuery(name = "query3", query = "select f from Dog f") }) In JPA Details there are only visible query2 and query 3, query1 is missing Comment @NamedQueries, query1 is back Expected is that all queries are shown
Created attachment 205134 [details] Query1 missing
This usage is somewhat debatable, even though I suppose most implementations support it. Have you actually seen this used in the field, or is this more of a hypothetical situation?
I guess the behaviour is not described in JPA specification, and the plugins implementation should be like in JPA library implementation (determined by the selected platform).