Chapter 6

Section 6.1

Implementing the JDBC/ODBC eWay Sample Projects

About the JDBC eWay Sample Projects

Figure 29 Database project flow

Both the prjJDBC_JCD and prjJDBC_BPEL sample Projects demonstrate how to:

ƒSelect employee records from a database using a prepared statement.

ƒSelect employee records from the db_employee table.

ƒInsert employee records into the db_employee table.

ƒUpdate an employee record in the db_employee table.

ƒDelete an employee record from the db_employee table.

In addition to the sample Projects, the JDBC510_SAMPLE_projects.zip file also includes seven sample input trigger files and nine sample output files, as follows:

Sample input files

ƒTriggerInsert.in.~in (for JCE projects only)

ƒTriggerBpPsInsert.in.~in (for BPEL projects only)

ƒTriggerDelete.in.~in

ƒTriggerPsUpdate.in.~in (for JCE projects only)

ƒTriggerBpUpdate.in.~in (for BPEL projects only)

ƒTriggerPsSelect.in.~in (for JCE projects only)

ƒTriggerTableSelect.in.~in

Sample output JCD files

ƒJCE_Insert_output().dat

ƒJCE_Delete_output().dat

ƒJCE_PsUpdate_output().dat

ƒJCE_PsSelect_output().dat

ƒJCE_TableSelect_output().dat

Sample output BPEL files

ƒBPEL_PsInsert_output().dat

ƒBPEL_Delete_output().dat

ƒBPEL_Update_output().dat

JDBC/ODBC eWay Adapter User’s Guide

70

Sun Microsystems, Inc.

Page 70
Image 70
Sun Microsystems JDBC/ODBC Adapter manual Sample input files, Sample output JCD files, Sample output Bpel files