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

Enchance SQLTemplate API and it's Documentation for forming not-mapping (DataRow) queries

    XMLWordPrintableJSON

Details

    Description

      I wish to use nice SQLTemplate scripting engine for my simple not-mapping (DataRow) runtime-formed queries.
      But now I should pass a DataObject to SQLTemplate constructor.
      The question is: "For what?"
      To do mapping???
      If my query is like: "SELECT max(id) as MAX_ID from Table1" it has no sense!

      I want to add constructor like: SQLTemplate(String defaultTemplate, Map parameter)
      and teach DataContext to perform such queries well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            apparition Evgeny Ryabitskiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: