Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5211

Classes based constructor for QueryEntities

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.3
    • sql

    Description

      We need to add constructor QueryEntity(Class keyType, Class valueType) to query entities class and deprecate CacheConfiguration.setIndexedTypes(…) method.

      Otherwise, there is no easy way for people who define SQL scheme with the annotations to do advanced settings like names of key and value objects, table name, etc.

      See this discussion for more details:
      http://apache-ignite-developers.2346864.n4.nabble.com/SQL-setting-key-field-name-for-types-registered-via-CacheConfiguration-setIndexedTypes-td17603.html

      Attachments

        Activity

          People

            tledkov-gridgain Taras Ledkov
            dmagda Denis A. Magda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: