openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helen Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OPENJPA-2281) symbol list was not parsed in TradeAction.doQuotes()
Date Wed, 17 Oct 2012 15:26:03 GMT
Helen Xu created OPENJPA-2281:
---------------------------------

             Summary: symbol list was not parsed in TradeAction.doQuotes()
                 Key: OPENJPA-2281
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2281
             Project: OpenJPA
          Issue Type: Bug
          Components: integration
    Affects Versions: 2.2.0, 2.3.0
            Reporter: Helen Xu
            Assignee: Helen Xu
            Priority: Minor


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]


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message