This is an old revision of the document!


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 into our tools.

To convert SQL Database Objects to Java, first of all in the tool you need to specify the same target database as the source one. For example, if you need to migrate from Oracle to Java, please select Oracle on the “Choose a Target Database” page:

After that you need to select objects that should be converted to Java. On the next “Specify DDL and Data Options” page of Ispirer SQLWays Wizard, please set “Convert Business Logic” option to “Java”, as shown below:

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 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. After the conversion process is finished, you will see the source code of the procedure in the target pane, while the converted results will be placed in the output directory. As you can see there is .java file with the same name as the procedure specified for the conversion:

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: support@ispirer.com



More about Ispirer Systems