
Initial Release
After composing examples of using SQLgateway for DB_Migration to IRIS
I couldn’t resist assembling all 7 around IRIS in a single package.
8 containers in 1 Docker-Compose felt like driving an 8-cylinder engine.
This is just JDBC/Java and IRIS with ISOS and SQL
Special thanks for the test data to YURI MARX PEREIRA GOMES
This was an excellent base to start off.
And the official documentation on SQLgateway with more features.
Make sure you have git and Docker desktop installed.
For the test with Caché, a valid Caqché license is required
Clone/git pull the repo into any local directory
git https://github.com/r-cemper/SQLgateway-Magnificent-7.git
docker-compose build
docker-compose up
Downloading some GB of test data takes some time. Be patient.
As I like to follow the progress of Compose, I use
docker-compose up -d && docker-compose logs -f
This brings some movement to my screen and is less boring.
Demo data are generated or imported during compose.
Connection to IRIS:
SQLgateway
is installed during Docker build and all required
jdbcdriver are included and activated
SMP is available here
http://localhost:42773/csp/sys/UtilHome.csp
All migration actions can be executed directly from SMP.
Verify the gateway connection in
SMP> Administration> Configuration> Connectivity> SqlGateway_Configuration

Identifying the source tables. In SMP > Change to Namespace USER
then step to SMP >Explorers >SQL >Wizards > Data Migration

Set required import parameters
Identifying new targets is possible, but may cause conflicts in cross-references
This is one key to success:
Tables get listed alphabetically not by logical dependency or sequence.
This could cause errors.
Skipping special settings, we use defaults to start the task in background

Now check the results and see if everything was working without errors
You might see errors if tables depend on content not yet migrated.
And wait for completions until the status shows Done

We terminate the Migration Wizard and return to the normal table view
All tables are visible and show meaningful columns and contents
Selecting a table and clicking on OpenTable shows reasonable contents
A look into the related generated Class Definitions confirms the result and successful completion.