The IBM® implementations
of JDBC and SQLJ provide a number of application programming interfaces,
properties, and commands for developing JDBC and SQLJ applications.
Properties for the IBM Data Server Driver for JDBC and SQLJ
IBM Data Server Driver
for JDBC and SQLJ properties define how the connection to a particular
data source should be made. Most properties can be set for a DataSource object
or for a Connection object.
Driver support for JDBC APIs
The JDBC drivers that are supported by DB2 and IBM Informix database
systems have different levels of support for JDBC methods.
Examples of ResultSetMetaData.getColumnName and ResultSetMetaData.getColumnLabel values
For the IBM Data Server Driver for JDBC and SQLJ version
4.0 and later, the default behavior of ResultSetMetaData.getColumnName and ResultSetMetaData.getColumnLabel differs
from the default behavior for earlier JDBC drivers. You can use the
useJDBC4ColumnNameAndLabelSemantics property to change this behavior.
Commands for SQLJ program preparation To prepare SQLJ programs for execution,
you use commands to translate SQLJ source code into Java source code, compile the Java source code, create and customize SQLJ
serialized profiles, and bind DB2 packages.