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)

Type: Bug Bug
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 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.

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)

Andy Jefferson made changes - 25/Jun/10 02:35 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 2.1.2 [ 11013 ]
Fix Version/s 2.2.0.m1 [ 11000 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 20/Oct/10 09:30 AM
Status Resolved [ 5 ] Closed [ 6 ]