Return-Path: X-Original-To: apmail-cayenne-dev-archive@www.apache.org Delivered-To: apmail-cayenne-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 C2CEA10804 for ; Mon, 26 Jan 2015 00:44:43 +0000 (UTC) Received: (qmail 46418 invoked by uid 500); 26 Jan 2015 00:44:44 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 46391 invoked by uid 500); 26 Jan 2015 00:44:44 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 46380 invoked by uid 99); 26 Jan 2015 00:44:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jan 2015 00:44:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [203.12.160.181] (HELO mail13.tpgi.com.au) (203.12.160.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jan 2015 00:44:36 +0000 X-TPG-Junk-Status: Message not scanned X-TPG-Antivirus: Passed X-TPG-Abuse: host=[202.161.115.54]; ip=202.161.115.54; date=Mon, 26 Jan 2015 11:43:52 +1100 Received: from fish.ish.com.au (202-161-115-54.static.tpgi.com.au [202.161.115.54] (may be forged)) by mail13.tpgi.com.au (envelope-from ari@maniatis.org) (8.14.3/8.14.3) with ESMTP id t0Q0hoWE015145 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 26 Jan 2015 11:43:52 +1100 Received: from ip-211.ish.com.au ([203.29.62.211]:44797 helo=ish.com.au) by fish.ish.com.au with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1YFXmN-00027b-0u for dev@cayenne.apache.org; Mon, 26 Jan 2015 11:43:47 +1100 Received: from [10.242.2.6] (HELO Aristedess-MacBook-Pro.local) by ish.com.au (CommuniGate Pro SMTP 6.1c1) with ESMTPS id 17971795 for dev@cayenne.apache.org; Mon, 26 Jan 2015 11:43:47 +1100 Message-ID: <54C58DC1.8080701@maniatis.org> Date: Mon, 26 Jan 2015 11:43:45 +1100 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:34.0) Gecko/20100101 Thunderbird/34.0 MIME-Version: 1.0 To: dev@cayenne.apache.org Subject: Re: SQLExec query References: <94CB7084-FF82-4404-B62B-FADBDA4F7B59@objectstyle.org> In-Reply-To: <94CB7084-FF82-4404-B62B-FADBDA4F7B59@objectstyle.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 25/01/2015 10:59pm, Andrus Adamchik wrote: > List performQuery(Query) // current, will be deprecated eventually > List select(Select) // added in M2 > T selectOne(Select) // added in M2 > > Non-selecting or "multi-part" queries: > > QueryResponse performGenericQuery(Query) // current, will be deprecated eventually > List execute(Query) // added in M3 > int[] updateBatch(Query) // added in M3 > int update(Query) // added in M3 If these are to mirror the select api, should they look like int[] update(Query) int updateOne(Query) As for List execute(Query) under what circumstances when this isn't a 'select' query will we get a list of results? -- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A