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

Method to return Object[] with entity after SQLTemplate or SQLSelect perform

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.3.M1
    • Core Library
    • None

    Description

      Add methods to return Object[] with entity after SQLTemplate or SQLSelect perform.

      Example :

      List<Object[]> result = SQLSelect.scalarQuery("SELECT #result(p, 'Painting'), ARTIST.NAME FROM PAINTING AS p INNER JOIN ARTIST ON p.ARTIST_ID=ARTIST.ID", Paintng.class, String.class)
      .select(context);

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            aarrsseni Arseni Bulatski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: