Program preparation for JDBC programs
Preparing a Java program
that contains only JDBC methods is the same as preparing any other Java program. You compile the program
using the javac
command. No precompile or bind steps
are required.
For example, to prepare the Sample01.java program for execution, execute this command from the /usr/lpp/db2d10/jdbc/ directory:
javac Sample01.java