Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2481

Support for Object[] as return type in SQLTemplate and SQLExec

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      Add methods to return Object[] after SQLTemplate and SQLSelect 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);

        Attachments

          Activity

            People

            • Assignee:
              ntimofeev Nikita Timofeev
              Reporter:
              aarrsseni Arseni Bulatski

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment