Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BEE21200C45 for ; Mon, 13 Mar 2017 11:54:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BD910160B60; Mon, 13 Mar 2017 10:54:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 12441160B6C for ; Mon, 13 Mar 2017 11:53:59 +0100 (CET) Received: (qmail 25882 invoked by uid 500); 13 Mar 2017 10:53:59 -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 25798 invoked by uid 99); 13 Mar 2017 10:53:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2017 10:53:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id ECFE0182319 for ; Mon, 13 Mar 2017 10:53:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=objectstyle.org header.b=sakZmj7u; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=qDX1aPic Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4WdJ5gnQZxGX for ; Mon, 13 Mar 2017 10:53:56 +0000 (UTC) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4465B5F252 for ; Mon, 13 Mar 2017 10:53:56 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8B73D20909 for ; Mon, 13 Mar 2017 06:53:55 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 13 Mar 2017 06:53:55 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=objectstyle.org; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=CMeBcwNbeORf1+z CguhziVlfOYk=; b=sakZmj7uOBPeFdpH4OpBeX0fs7wIYi6aUMC2es0Ktj9rE09 MRRlkXkj0Hh9VqHcAAYS+wq0gPfCuCPYNepF94d93sp4YmtdfoJx8aJkbPjmJz+k HxeiZroLyrJS7b6JMmGz44z2/zPKZGpV79LftbK7kukP3XFWvMEyvZW8p9xI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=CMeBcwNbeORf1+zCguhziVlfOYk=; b=qDX1aPicjCfGxjZSqsyY ivwsaIGBBgnTCfBo94AQJvr1Xq/MWqtSA7CXFU6PsjNulF5lNT1uXBj37EIUVRAW yiVI35rLzlzlOqVmLlh5GRmlXFlV6n/+bfOPk5KWP1+hKB+G7fxshsxlNy+9lnY7 gB2GUeKVl8QuhPba2Mj/7Zg= X-ME-Sender: X-Sasl-enc: Q1YRIEYJH1udk7/FoYFqhXtZjhDUfgmW/k23zdgosQdr 1489402435 Received: from [192.168.1.73] (unknown [37.17.49.228]) by mail.messagingengine.com (Postfix) with ESMTPA id 0F3A9241D8 for ; Mon, 13 Mar 2017 06:53:54 -0400 (EDT) From: Andrus Adamchik Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: ColumnSelect API + Persistent objects Date: Mon, 13 Mar 2017 13:53:53 +0300 References: <9978ec72-3033-9675-4434-21c28e6bc5b3@maniatis.org> <8EAE441C-5264-49DF-BFA1-07AACFECF709@objectstyle.org> <3fc918ed-c32e-e6f0-85a9-4e489d662cb3@maniatis.org> To: dev@cayenne.apache.org In-Reply-To: <3fc918ed-c32e-e6f0-85a9-4e489d662cb3@maniatis.org> Message-Id: X-Mailer: Apple Mail (2.3259) archived-at: Mon, 13 Mar 2017 10:54:00 -0000 > On Mar 13, 2017, at 1:46 PM, Aristedes Maniatis = wrote: >=20 >=20 > Just a wild thought, but would this syntax be helpful... >=20 > List result =3D ObjectSelect.query(Artist.class) > .addColumns(Artist.PAINTING_COUNT) > .select(context); >=20 > So then we are adding more columns to the existing DataObject query = rather than having to define the DataObjects as properties in = themselves. The syntax above might be simpler to understand and write. So "addColumns" vs "columns"? IIRC we tried something similar with = orderings (override all orderings vs add to the existing orderings), and = that confused everybody (including me as the author), so that was undone = between the milestones. Andrus