Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2281

symbol list was not parsed in TradeAction.doQuotes()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.0, 2.3.0
    • None
    • integration
    • None
    • Patch Available

    Description

      In TradeAction.doQuotes(), the passed-in symbol list should be parsed first before the quote lookup.

      here is the query with the wrong parameter which will get nothing from database.

      SELECT t0.CHANGE1, t0.COMPANYNAME, t0.HIGH, t0.LOW, t0.OPEN1, t0.PRICE, t0.VOLUME FROM quoteejb t0 WHERE t0.SYMBOL = ? optimize for 1 row [params=(String) s:291,s:96,s:47,s:570,s:287,s:661,s:33]

      Attachments

        1. OPENJPA_2281.patch
          1 kB
          Helen Xu

        Activity

          People

            helenxu Helen Xu
            helenxu Helen Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: