Initial Release
Sample example to show how to communicate between InterSystems Caché and
InterSystems IRIS using SQLgateway in contrast to other types of linking.
Migration is the most attractive functionality in SQLgatway and it is easy to visualize.
But it also offers a broader range of non-permanent linking of databases.
e.g. centralized error tracking.
This is just JDBC/Java and IRIS with ISOS and SQL
Inspired by the previous packages provided by YURI MARX PEREIRA GOMES
this is a logical follower.
And the official documentation on SQLgateway
uncovers more useful features.
Make sure you have git and Docker desktop installed.
In order to allow networking with Caché you need an appropriate license.
Caché works by default with a single user and no networks.
Clone/git pull the repo into any local directory
git https://github.com/r-cemper/SQLgateway-migration-cache-IRIS.git
docker-compose build
docker-compose up
Connection to CACHÈ:
Connection to IRIS:
SQLgateway
is installed during Docker build and the required
jdbcdriver for Linux is included in this repo
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.