INFORMIX
IBM Informix Embedded SQLJ User's Guide
Appendix B: Sample Programs
Contents Index

Sample Programs

The following table lists and describes the on-line sample programs that are included with IBM 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 Embedded SQLJ). The README file in the directory explains how to compile and run the programs.




IBM Informix Embedded SQLJ User's Guide, Version 1.0
Copyright © 1999, IBM Corporation. All rights reserved.