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

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

    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

            ntimofeev Nikita Timofeev
            aarrsseni Arseni Bulatski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: