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

Need to create a utility for auto-schema loading from databases

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • sprint-1
    • UI
    • None

    Description

      Need to create utility for auto-schema loading:

      1. Should be written in Java
      2. Preferably no additional dependencies should be added to the project.

      The process is composed of 2 parts, schema mapping and automatic data loading.

      Schema Mapping

      1. Should be a standalone GUI utility
      2. Users should select schemas, then tables from schemas, then fields from tables, and automatically generate Spring XML for SQL Query metadata configuration.
      3. Should also optionally automatically generate POJO classes.
      4. Should automatically map SQL table names to Java standard allowing users to provide customer Regex.
      5. By default, every table should be mapped to a separate Cache, but user should be able to override this in any possible way.

      Automatic GridCacheStore implementation

      1. The new GridCacheStore implementation should read the XML configuration generated by Schema Mapping step and automatically implement all CRUD and TX operations out of the box.
      2. The implementation of the loadCache(...) method should accept SQL for loading (or where clause) as a parameter. Users should be able to preload a portion of the table based on some search criteria on startup or at any point after.

      Attachments

        1. ignite-32-03.png
          61 kB
          Alexey Kuznetsov
        2. ignite-32-04.png
          16 kB
          Alexey Kuznetsov
        3. ignite-32-01.png
          18 kB
          Alexey Kuznetsov
        4. ignite-32-02.png
          20 kB
          Alexey Kuznetsov
        5. ignite_patch.diff
          1.61 MB
          Alexey Kuznetsov
        6. ig-32.png
          18 kB
          Pavel Konstantinov

        Activity

          People

            Unassigned Unassigned
            dsetrakyan Dmitriy Setrakyan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: