Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-533

DBLookup extracs only first element from database

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2
    • FUTURE
    • Core, Extension Mediators
    • None

    Description

      I just realized that the DBLookup mediator extracts only the first row... when i try to use statement like select * from mytable; and if my table called as mytable contains 3 values like test1, test2 and test 3, when i try to use the same only first element gets displayed ie like test1 and i dont get output as test1,test2, test3. DBLookup needs to improve this to extract multiple rows if there are multiple rows, in which case the result set will be a list of results which might be a special list that needs to be implement because it can get a XML representation of this list easily.

      Refer discussion at link : http://wso2.org/forum/thread/5181

      Attachments

        1. SYNAPSE-533.patch
          22 kB
          Rajika Kumarasiri

        Activity

          People

            hiranya Hiranya Kasub Jayathilaka
            minalsontakke minal sontakke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified