EWAY JDBC/ODBC Adapter USER’S Guide
Part Number Version
Contents
Activity Input and Output
Transaction Support Levels Between Different Versions
Create the Collaboration Business Rules
Stored Procedure
Creating the Collaboration Definitions Java
Building and Deploying the Project Running the Sample
Building and Deploying the prjJDBCBPEL Sample Project
What’s In This Chapter
About Java Database Connectivity Jdbc
Jdbc Drivers
Type One Driver
Type I JDBC-ODBC Bridge
Cons
Type II Partial Java driver
Type Two Driver
Pros
Type Three Driver
Pure Java driver for database middleware
Type Four Driver Direct-to-database pure Java driver
Typical Type 3 Middleware Driver Configuration
Typical Type 4 Driver Configuration
New for Version
About the JDBC/ODBC eWay
What’s New in This Release
Jdbc eWay Javadoc
About This Document
Scope
Text Conventions
Related Documents
Sun Microsystems, Inc. Web Site
Intended Audience
Documentation Feedback
Installing the Jdbc eWay
Installing the JDBC/ODBC eWay
Installing the Jdbc eWay on an eGate supported system
Extracting the Sample Projects and Javadocs
Ican 5.0 Project Migration Procedures
After Installation
Deploy the Project
Install Java Caps
Import the Project
To add plug-ins from the Enterprise Manager
Installing Enterprise Manager eWay Plug-Ins
Alert Code\Description Description Details User Actions
Viewing Alert Codes
To View the eWay Alert Codes
Alert Codes for the JDBC/ODBC eWay
Duncommitted
Chapter Section
Configuring the eWay Connectivity Map Properties
Creating and Configuring a Jdbc eWay
Connectivity Map with Components
To configure the eWay properties
Example
Transaction Support Levels Between Different Versions
Transaction Support Levels
To Configure the Environment Properties
Configuring the eWay Environment Properties
EWay Connectivity Map Properties
Outbound eWay Configuration Sections Include
Connectivity Map Outbound non-Transactional eWay Properties
Outbound XA eWay Configuration Settings Include
EWay Environment Properties
Connectivity Map Outbound eWay Properties
Name Description Required Value
Inbound Jdbc eWay-Parameter Settings
Inbound Jdbc eWay Properties
Outbound Jdbc eWay Properties
ConnectionPoolDataSource
Jdbc Connector Settings
Outbound Jdbc eWay-JDBC Connector Settings
Is Jdbc Connection Pool Datasource
XADataSource or ConnectionPoolDataSource
Connection Retry Settings
Outbound Jdbc eWay-Connection Retry Settings
Outbound non-Transactional Jdbc eWay Properties
Outbound non-Transactional eWay -JDBC Connector Settings
Outbound non-Transactional eWay -JDBC Connector Settings
Outbound XA Jdbc eWay Properties
Outbound non-Transactional eWay-Connection Retry Settings
ConnectionPoolDataSource or
Outbound XA Jdbc eWay-JDBC Connector Settings
Is Jdbc XA Datasource
Outbound XA Jdbc eWay-Connection Retry Settings
Outbound XA Jdbc eWay-Connection Retry Settings
Creating a New Jdbc OTD
About the Database OTD Wizard
Connect To Database
Select Wizard Type
Steps Required to Select Database Objects Include
Select Database Objects
Required Database Connection Fields include
Steps Required to Select Table/Views/Aliases Include
Select Tables/Views/Aliases
Select Tables/Views/Aliases
Database Wizard All Schemes
Selected Tables/Views/Aliases window with a table selected
Table/View Columns
Select Procedures
Steps Required to Select Stored Procedures Include
Add Procedures
Edit Resultset
Steps Required to Add Prepared Statements Include
Add Prepared Statement
Prepared Statement
Edit the Prepared Statement Parameters
Steps Required to Review Your OTD Selections
Specify the OTD Name
Review Selections
Steps Required to Specify the OTD Name
Steps to Edit the OTD from the Enterprise Designer Include
Steps to Edit an Existing Jdbc OTD
Activity Input and Output
Jdbc eWay Database Operations Bpel
EInsight Operations Activity Input Activity Output
JDBC.ODBC Operations
Jdbc eWay Database Operations JCD
To perform a query operation on a table
Query Select Operation
To perform an insert operation on a table
Insert Operation
To perform an update operation on a table
Update Operation
To perform a delete operation on a table
Stored Procedure
Delete Operation
Steps for executing the Stored Procedure include
Executing Stored Procedures
FileClient1.write
Collaboration usability for a stored procedure ResultSet
Batch Operations
Prepared Statement
Chapter Section Using JDBC/ODBC Operations
About the Jdbc eWay Sample Projects
Implementing the JDBC/ODBC eWay Sample Projects
Sample output Bpel files
Sample input files
Sample output JCD files
Assigning Operations in Bpel
Sample Project Data
Operations Used in the Jdbc Sample Projects
Assigning Operations in JCD
Sample Projects Drivers
Running the Sample Projects
About the eInsight Engine and eGate Components
Importing a Sample Project
Running the SQL Script
Steps required to create the sample project
Building and Deploying the prjJDBCJCD Sample Project
Steps required to create a Jdbc Database OTD
Creating a Project
Creating the OTDs
Click Next the Add Prepared Statements Wizard appears
Creating a Connectivity Map
Steps required to select a Jdbc External System
Populating the Connectivity Map
Steps required to create a new Connectivity Map
Steps required to create the jcdDelete Collaboration
Creating the Collaboration Definitions Java
JcdDelete Collaboration
Steps required to create the jcdPsSelect Collaboration
JcdInsert Collaboration
JcdPsSelect Collaboration
Steps required to create the jcdInsert Collaboration
Steps required to create the jcdTableSelect Collaboration
JcdPsUpdate Collaboration
Steps required to create the jcdPsUpdate Collaboration
JcdTableSelect Collaboration
Creating the jcdInsert Business Rules
Create the Collaboration Business Rules
Creating the jcdDelete Business Rules
JcdInsert Business Rules
Creating the jcdPsSelect Business Rules
Sample code from the jcdPsSelect Includes
JcdPsSelect Business Rules
Creating the jcdTableSelect Business Rules
Sample code from the jcdTableSelect Includes
JcdTableSelect Business Rules
Binding the eWay Components
Creating the jcdUpdate Business Rules
Steps required to bind eWay components together
Creating an Environment
Steps required to create an Environment
Configuring the eWays
FileClientOUT eWay Property Settings
Configuring the eWay Properties
Steps required to configure the eWay properties
FileClientIN eWay Property Settings
Section Property Name Required Value
Configuring the Environment Explorer Properties
Jdbc eWay Environment Properties
File eWay Environment Properties
Configuring the Integration Server
Creating the Deployment Profile
Steps required to create the Deployment Profile
Creating and Starting the Domain
Build the Project
Building and Deploying the Project
Running the Sample
Steps required to create and start the domain
Building and Deploying the prjJDBCBPEL Sample Project
Steps required to create a Jdbc Database OTD include
Steps to create a business process flow include
Creating the Business Process
Creating the Business Process Flow
Steps required to create inbound and outbound DTD OTDs
Business Process Activity
Configuring the bpelPsInsert Modeling Elements
Business Process Activities
BpelPsInsert Business Process
Configuring the bpelUpdate Modeling Elements