You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/10 13:04:00 UTC
[jira] [Commented] (CAY-2481) Methods to return Object[] after
SQLTemplate and SQLExec perform
[ https://issues.apache.org/jira/browse/CAY-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644934#comment-16644934 ]
ASF GitHub Bot commented on CAY-2481:
-------------------------------------
GitHub user aarrsseni opened a pull request:
https://github.com/apache/cayenne/pull/331
CAY-2481 Methods to return Object[] after SQLTemplate and SQLExec per…
…form
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aarrsseni/cayenne CAY-2481
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cayenne/pull/331.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 #331
----
commit cefcc9229babb893626426c2c8ecb1483fe33e6e
Author: Arseni Bulatski <an...@...>
Date: 2018-10-10T12:47:20Z
CAY-2481 Methods to return Object[] after SQLTemplate and SQLExec perform
----
> Methods to return Object[] after SQLTemplate and SQLExec perform
> ----------------------------------------------------------------
>
> 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 SQLExec perform with predefined types.
> Example:
> List<Object[]> 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)