Before you run the generated code, you can confirm that
you are using a level of the IBM® Data
Server Driver for JDBC and SQLJ that the pureQuery runtime engine
supports. You can also confirm that you are using a supported level
of a Java Runtime Environment.
IBM Data Studio
comes with two pureQuery components:
- The pureQuery tooling
- The pureQuery runtime engine
In the previous lesson, you used the pureQuery tooling to
generate code. To run the code against the GSDB database, you use
the pureQuery runtime engine. To use this engine, you need to fulfill
requirements that are separate from those that you need to use the
tooling.
You can confirm that you meet these requirements by
running the SampleUtil application that the pureQuery tooling generated
in the previous lesson.
Tip: You meet the requirements
for the pureQuery runtime engine if you meet the following criteria:
- You used the default JRE when you created a Java project
- You specified the default location for the pureQuery .jar files
when you added pureQuery support to the project
- You connected to a data source with the IBM Data Server Driver for JDBC and SQLJ that
comes with IBM Data Studio
Therefore, if you followed the steps in this tutorial, you already
meet these requirements. However, you might not always use these default
values. In such situations, the SampleUtil application will be useful.
To confirm that your system meets the requirements for
the pureQuery runtime engine:
You validated that your system meets the requirements for
the pureQuery runtime engine.