Java packages for SQLJ support

Before you can execute SQLJ statements or invoke JDBC methods in your SQLJ program, you need to be able to access all or parts of various Java™ packages that contain support for those statements.

You can do that either by importing the packages or specific classes, or by using fully-qualified class names. You might need the following packages or classes for your SQLJ program:
sqlj.runtime
Contains the SQLJ run-time API.
java.sql
Contains the core JDBC API.
com.ibm.db2.jcc
Contains the driver-specific implementation of JDBC and SQLJ.
javax.naming
Contains methods for performing Java Naming and Directory Interface (JNDI) lookup.
javax.sql
Contains methods for creating DataSource objects.