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-74
Type: Improvement Improvement
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

JPA2 : Criteria Query - provide default alias when user too lazy

Created: 06/Jul/10 04:30 PM   Updated: 13/Aug/12 03:16 PM   Resolved: 06/Jul/10 04:31 PM
Component/s: API
Affects Version/s: None
Fix Version/s: 2.1.1

 Description  « Hide
In JPQL you always have to define the candidate alias. In JPQL Criteria we currently assume the same. We could provide a default for when the user is simply too lazy

Andy Jefferson added a comment - 06/Jul/10 04:31 PM
Uses "DN_THIS"

Andy Jefferson made changes - 06/Jul/10 04:31 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 20/Oct/10 09:30 AM
Status Resolved [ 5 ] Closed [ 6 ]
Andy Jefferson made changes - 13/Aug/12 03:16 PM
Component/s API [ 10181 ]
Component/s Queries [ 10180 ]