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-189
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Treat JPQL "positional" parameters as named internally, to simplify code

Created: 25/Oct/12 11:55 AM   Updated: 27/Oct/12 03:58 PM   Resolved: 27/Oct/12 03:58 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2.0.m1

 Description  « Hide
User can specify
SELECT ... FROM ... WHERE a = :param AND b = :nextParam
SELECT ... FROM ... WHERE a = ?1 AND b = ?2

but the second option effectively has named parameters since they are named by the number. Simply treating all JPQL params internally as named would simplify their processing.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 25/Oct/12 12:28 PM
SVN trunk makes this change