Table of Contents
How to Сonvert SQL Database Objects to Java Using Ispirer Migration and Modernization Toolkit
For certain migration directions you may need to convert database objects into Java syntax. For this purpose we included a special set of options in our tools.
Using Ispirer SQLWays Wizard
To convert SQL Database Objects to Java, first of all you need to note that in this case you should define the target database the same as the source one in the tool. For example, if you need to migrate from Oracle to Java, please select Oracle in the “Choose a Target Database”:
After that you need to select objects that should be converted into Java code. On the next “Specify DDL and Data Options” page, please set “Convert Business Logic” option to “Java” in Ispirer SQLWays Wizard, like it is shown below:
Using Ispirer Migration Studio
In order to convert from Oracle to Java in Ispirer Migration Studio you need to specify the Source as Oracle and Target as Java as it is shown on the screenshot:
After that you need to specify the Output Directory where converted results (Java file with converted procedure) will be placed. To specify this directory please click “Options” –> “Migration…”, set “Output Directory” and click OK.
When the output directory is set you can run the conversion process. After the conversion process is finished, you will see the source code of procedure in the target pane and the converted results will be placed in the output directory. As we can see there is .java file with the same name as procedure specified for the conversion:
Using Ispirer Migration Commander
In Ispirer Migration Commander to convert from Oracle to Java you need to specify the Source as Oracle and Target as Java and choose a file for conversion and clik “Run” as it is shown on the screenshot:
After that you need to specify the target folder using the “Convert to” option, where converted results (Java file with converted procedure) will be placed and click OK.
After that Ispirer Migration Commander will generate the target folder and place there converted results. As you can see on the screenshot below, there is .java file with the same name as the procedure specified for the conversion:
If you have any additional questions, please contact our support team: firstname.lastname@example.org