Issue Details (XML | Word | Printable)

Key: JDO-181
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Michael Watzek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Query interface misses setRange(String).

Created: 10/Oct/05 06:31 PM   Updated: 20/Oct/05 07:44 AM
Return to search
Component/s: api2
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works query.patch 2005-10-15 12:51 PM Craig Russell 1 kB

Resolution Date: 20/Oct/05 07:44 AM


 Description  « Hide
This method is required by the spec:

A14.6.8-3 [setRange(String range);]
When using the string form of setRange both parameter values are specified either as numbers or
as parameters. The fromIncl and toExcl values are comma separated and evaluated as either
long values or as parameter names (beginning with ":"). For example, setRange(":from-
Range, :toRange") or setRange("100, 130").


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell added a comment - 15/Oct/05 12:51 PM
Please review this patch. Since it is an extra method, JPOX will need to include the new method or code will break. Please let me know when it's ok to check in.

Michael Bouschen added a comment - 18/Oct/05 03:42 AM
The patch looks good!

I propose to add method setRange(String range) to section 14.6 at the end of subsection Query element binding on page 144. This would result in a new assertion with number A14.6-24.

Craig Russell added a comment - 18/Oct/05 03:58 AM
I've added setRange(String) to the specification where you suggested it.

Craig Russell added a comment - 20/Oct/05 07:44 AM
Committed to the svn repository 326738.