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: NUCRDBMS-425
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

JDOQL : Handling for positional input parameters needs to cater for multiple usages

Created: 25/Jun/10 02:11 PM   Updated: 20/Oct/10 09:30 AM   Resolved: 25/Jun/10 02:35 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.1.2, 2.2.0.m1


 Description  « Hide
Work applied in NUCRDBMS-422 doesn't take into account if a parameter is used multiple times in a query but should.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 25/Jun/10 02:35 PM
SVN trunk and branches/2.1 fixes this. In the meantime just execute the query using executeWithMap where you tie the parameter value to the parameter name (far more sensible mechanism IMHO)