Description
Need to create utility for auto-schema loading:
- Should be written in Java
- 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
- Should be a standalone GUI utility
- Users should select schemas, then tables from schemas, then fields from tables, and automatically generate Spring XML for SQL Query metadata configuration.
- Should also optionally automatically generate POJO classes.
- Should automatically map SQL table names to Java standard allowing users to provide customer Regex.
- 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
- 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.
- 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.