Descriptions of sample programs included with HCL Informix Embedded SQLJ

The following table lists and describes the online sample programs that are included with Informix® Embedded SQLJ.

Demo Program Name
Description
Demo01.sqlj
Demonstrates a simple connection to the database
Demo02.sqlj
Demonstrates a simple SELECT statement and the use of host variables
Demo03.sqlj
Demonstrates the use of a named iterator
Demo04.sqlj
Demonstrates the use of a positional iterator
Demo05.sqlj
Demonstrates interoperability between a JDBC ResultSet object and an SQLJ iterator
Demo06.sqlj
Demonstrates interoperability between a JDBC Connection object and an SQLJ connection-context object

The sample programs are located in the IFXJLOCATION/demo/sqlj directory (IFXJLOCATION refers to the directory where you chose to install Informix Embedded SQLJ). The README file in the directory explains how to compile and run the programs.