You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Helen Xu (JIRA)" <ji...@apache.org> on 2012/10/17 17:26:03 UTC
[jira] [Created] (OPENJPA-2281) symbol list was not parsed in
TradeAction.doQuotes()
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
[jira] [Updated] (OPENJPA-2281) symbol list was not parsed in
TradeAction.doQuotes()
Posted by "Helen Xu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Helen Xu updated OPENJPA-2281:
------------------------------
Attachment: OPENJPA_2281.patch
> 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
> Attachments: OPENJPA_2281.patch
>
>
> 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