You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Arseni Bulatski (JIRA)" <ji...@apache.org> on 2018/10/10 12:19:00 UTC

[jira] [Created] (CAY-2481) Methods to return Object[] after SQLTemplate and SQLExec perform

Arseni Bulatski created CAY-2481:
------------------------------------

             Summary: 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
             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)