Return-Path: Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: (qmail 8076 invoked from network); 1 Oct 2009 23:17:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 23:17:50 -0000 Received: (qmail 73672 invoked by uid 500); 1 Oct 2009 23:17:50 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 73652 invoked by uid 500); 1 Oct 2009 23:17:50 -0000 Mailing-List: contact commits-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 commits@cayenne.apache.org Received: (qmail 73643 invoked by uid 99); 1 Oct 2009 23:17:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 23:17:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 23:17:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 99DA1234C055 for ; Thu, 1 Oct 2009 16:17:23 -0700 (PDT) Message-ID: <1227736786.1254439043629.JavaMail.jira@brutus> Date: Thu, 1 Oct 2009 16:17:23 -0700 (PDT) From: "Ari Maniatis (JIRA)" To: commits@cayenne.apache.org Subject: [jira] Updated: (CAY-1287) SQLTemplate for not-mapping (DataRow) queries In-Reply-To: <2005709449.1254434003494.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAY-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ari Maniatis updated CAY-1287: ------------------------------ Issue Type: New Feature (was: Bug) > SQLTemplate for not-mapping (DataRow) queries > --------------------------------------------- > > Key: CAY-1287 > URL: https://issues.apache.org/jira/browse/CAY-1287 > Project: Cayenne > Issue Type: New Feature > Components: Cayenne Core Library > Affects Versions: 2.0 branch > Reporter: Evgeny Ryabitskiy > Fix For: 3.0 > > > I wish to use nice SQLTemplate scripting engine for my simple not-mapping (DataRow) runtime-formed queries. > But now I should pass a DataObject to SQLTemplate constructor. > The question is: "For what?" > To do mapping??? > If my query is like: "SELECT max(id) as MAX_ID from Table1" it has no sense! > I want to add constructor like: SQLTemplate(String defaultTemplate, Map parameter) > and teach DataContext to perform such queries well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.