You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Florian Pinel (JIRA)" <de...@tuscany.apache.org> on 2009/06/09 19:54:07 UTC

[jira] Created: (TUSCANY-3087) Changing the behavior of start and end indexes in read commands

Changing the behavior of start and end indexes in read commands
---------------------------------------------------------------

                 Key: TUSCANY-3087
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3087
             Project: Tuscany
          Issue Type: New Feature
          Components: Java DAS RDB
    Affects Versions: Java-DAS-beta1
            Reporter: Florian Pinel
            Priority: Minor


Let's say I have a purchase order with line items, and I call a read
command with 1 as the start index and 11 as the end index. If each purchase
order has 5 line items, the current DAS implementation will return the
first 2 purchase orders. Obviously what I wanted is the first 10 purchase
orders, I don't care about the number of line items.
This patch modifies the implementation to return 10 purchase orders.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TUSCANY-3087) Changing the behavior of start and end indexes in read commands

Posted by "Luciano Resende (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende resolved TUSCANY-3087.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: Java-DAS-Next
         Assignee: Luciano Resende

Patch applied, Thanks Florian.

> Changing the behavior of start and end indexes in read commands
> ---------------------------------------------------------------
>
>                 Key: TUSCANY-3087
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3087
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java DAS RDB
>    Affects Versions: Java-DAS-beta1
>            Reporter: Florian Pinel
>            Assignee: Luciano Resende
>            Priority: Minor
>             Fix For: Java-DAS-Next
>
>         Attachments: TUSCANY-3087.patch
>
>
> Let's say I have a purchase order with line items, and I call a read
> command with 1 as the start index and 11 as the end index. If each purchase
> order has 5 line items, the current DAS implementation will return the
> first 2 purchase orders. Obviously what I wanted is the first 10 purchase
> orders, I don't care about the number of line items.
> This patch modifies the implementation to return 10 purchase orders.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-3087) Changing the behavior of start and end indexes in read commands

Posted by "Florian Pinel (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Pinel updated TUSCANY-3087:
-----------------------------------

    Attachment: TUSCANY-3087.patch

Attaching patch.

> Changing the behavior of start and end indexes in read commands
> ---------------------------------------------------------------
>
>                 Key: TUSCANY-3087
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3087
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java DAS RDB
>    Affects Versions: Java-DAS-beta1
>            Reporter: Florian Pinel
>            Priority: Minor
>         Attachments: TUSCANY-3087.patch
>
>
> Let's say I have a purchase order with line items, and I call a read
> command with 1 as the start index and 11 as the end index. If each purchase
> order has 5 line items, the current DAS implementation will return the
> first 2 purchase orders. Obviously what I wanted is the first 10 purchase
> orders, I don't care about the number of line items.
> This patch modifies the implementation to return 10 purchase orders.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.