Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65804D66A for ; Wed, 17 Oct 2012 15:26:03 +0000 (UTC) Received: (qmail 42599 invoked by uid 500); 17 Oct 2012 15:26:03 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 42443 invoked by uid 500); 17 Oct 2012 15:26:03 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 42434 invoked by uid 99); 17 Oct 2012 15:26:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 15:26:03 +0000 Date: Wed, 17 Oct 2012 15:26:03 +0000 (UTC) From: "Helen Xu (JIRA)" To: dev@openjpa.apache.org Message-ID: <270579980.58091.1350487563238.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (OPENJPA-2281) symbol list was not parsed in TradeAction.doQuotes() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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