Issue Details (XML | Word | Printable)

Key: NUCJPA-272
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Query.getParameter methods using position return that parameter is not found for JPQL

Created: 27/May/14 11:32 AM   Updated: 29/May/14 09:00 AM   Resolved: 27/May/14 11:33 AM
Component/s: API
Affects Version/s: 3.1.4, 3.2.7, 3.3.7, 4.0.0.m1
Fix Version/s: 4.0.0.m4


 Description  « Hide
When the user has specified a positional parameter for JPQL, the Query.getParameter(...) methods return that there is no parameter for this position. This is becuase JPQL "positional" parameters are really named parameters (since they can be used multiple times in a query, in different orders), so we store them as a String internally.

Andy Jefferson added a comment - 27/May/14 11:33 AM
GitHub master fixes this

Andy Jefferson made changes - 27/May/14 11:33 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 29/May/14 09:00 AM
Status Resolved [ 5 ] Closed [ 6 ]