DB2 ist ein Produkt der
IBM Corporation. Bitte Copyright- und Trademark-Hinweise beachten!
SQLJ application that uses the DB2 Universal JDBC Driver
Located at:
http://www-1.ibm.com/support/docview.wss?rs=64&uid=swg27004921
SQLJ application that uses the DB2 Universal JDBC Driver Forum/discussion group
Abstract
This sample program shows how to write an SQLJ application using the DB2 Universal JDBC Driver and type 4 connectivity to access a DB2 database.
Content
This sample program shows how to write an SQLJ application using the DB2 Universal JDBC Driver and type 4 connectivity to access a DB2® database.
To run the example:
1. Download the App.sqlj
2. Edit App.sqlj as you are instructed in the comments:
- Update the value of the url variable to specify the server, port, and database for your DB2 server.
3. Translate, compile, customize, and run App.sqlj using the sqlj and db2sqljcustomize utilities and the java command.
Example submitted by:
IBM® Redbook: DB2 for OS/390® and z/OS® Powering the World's e-business Solutions (SG24-5945-00)
P.S. Please pass my address to anyone interested in DB2 HOTLINE - thank you.
With kind regards
Michael Dewert, Software Group
DB2 Development
DB2 Information Management Software
© Gernot Ruban