[
https://issues.apache.org/jira/browse/CAY-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662075#comment-16662075
]
ASF GitHub Bot commented on CAY-2481:
-
GitHub user aarrsseni opened a pull request:
https://github.com/apache/cayenne/pull/336
CAY-2481 Support for Object[] as return type in SQLTemplate and SQLExec
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aarrsseni/cayenne CAY-2481-update
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cayenne/pull/336.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #336
commit 18c72d34710646bed3c51a6b64285a597a56c2b6
Author: Arseni Bulatski
Date: 2018-10-24T06:26:36Z
CAY-2481 Methods to return Object[] after SQLTemplate and SQLExec perform
commit b1f9ad5b333442e6e51286fa1a3379f83919411c
Author: Arseni Bulatski
Date: 2018-10-24T09:57:26Z
Update docs
> Support for Object[] as return type in SQLTemplate and SQLExec
> --
>
> Key: CAY-2481
> URL: https://issues.apache.org/jira/browse/CAY-2481
> Project: Cayenne
> Issue Type: Improvement
> Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Add methods to return Object[] after SQLTemplate and SQLSelect perform with
> predefined types.
> Example:
> List result = SQLSelect.scalarQuery("SELECT PAINTING_ID,
> PAINTING_TITLE, ESTIMATED_PRICE FROM PAINTING", Integer.class, String.class,
> Double.class)
> .select(context);
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)