[ 
https://issues.apache.org/jira/browse/CAY-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrus Adamchik updated CAY-1287:
---------------------------------
    Fix Version/s:     (was: 3.1)
                   Undefined future

> Enchance SQLTemplate API and it's Documentation for forming not-mapping 
> (DataRow) queries
> -----------------------------------------------------------------------------------------
>
>                 Key: CAY-1287
>                 URL: https://issues.apache.org/jira/browse/CAY-1287
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library, Documentation
>    Affects Versions: 2.0 branch
>            Reporter: Evgeny Ryabitskiy
>             Fix For: Undefined future
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to