DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCJPA-179
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus API JPA

Allow specification of NamedQuery/NamedNativeQuery in any class (not just entity)

Created: 23/Jun/12 11:55 AM   Updated: 13/Aug/12 03:16 PM   Resolved: 27/Jun/12 05:13 PM
Component/s: API
Affects Version/s: None
Fix Version/s: 3.1.0.m3

 Description  « Hide
Would need specifying in the persistence-unit, but from that we could have a different processor that detects @NamedQuery, @NamedNativeQuery and just handles those

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 27/Jun/12 05:13 PM
SVN trunk now supports classes (specified in persistence.xml) that are specified with @NamedQuery, @NamedQueries, @NamedNativeQuery, @NamedNativeQueries, @NamedStoredProcedureQuery, @NamedStoredProcedureQueries but are not persistent