EWAY JDBC/ODBC Adapter USER’S Guide
Part Number Version
Contents
Activity Input and Output
Transaction Support Levels Between Different Versions
Stored Procedure
Creating the Collaboration Definitions Java
Create the Collaboration Business Rules
Building and Deploying the Project Running the Sample
Building and Deploying the prjJDBCBPEL Sample Project
About Java Database Connectivity Jdbc
Jdbc Drivers
What’s In This Chapter
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
About the JDBC/ODBC eWay
What’s New in This Release
New for Version
About This Document
Scope
Jdbc eWay Javadoc
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
Ican 5.0 Project Migration Procedures
After Installation
Extracting the Sample Projects and Javadocs
Install Java Caps
Import the Project
Deploy 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
Connection Retry Settings
Outbound Jdbc eWay-Connection Retry Settings
XADataSource or ConnectionPoolDataSource
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
Outbound XA Jdbc eWay-JDBC Connector Settings
Is Jdbc XA Datasource
ConnectionPoolDataSource or
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
Select Database Objects
Required Database Connection Fields include
Steps Required to Select Database Objects 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
Stored Procedure
Delete Operation
To perform a delete operation on a table
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 input files
Sample output JCD files
Sample output Bpel files
Assigning Operations in Bpel
Sample Project Data
Operations Used in the Jdbc Sample Projects
Assigning Operations in JCD
Running the Sample Projects
About the eInsight Engine and eGate Components
Sample Projects Drivers
Importing a Sample Project
Running the SQL Script
Steps required to create the sample project
Building and Deploying the prjJDBCJCD Sample Project
Creating a Project
Creating the OTDs
Steps required to create a Jdbc Database OTD
Click Next the Add Prepared Statements Wizard appears
Creating a Connectivity Map
Populating the Connectivity Map
Steps required to create a new Connectivity Map
Steps required to select a Jdbc External System
Creating the Collaboration Definitions Java
JcdDelete Collaboration
Steps required to create the 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
Create the Collaboration Business Rules
Creating the jcdDelete Business Rules
Creating the jcdInsert 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
Configuring the Environment Explorer Properties
Jdbc eWay Environment Properties
Section Property Name Required Value
Configuring the Integration Server
Creating the Deployment Profile
File eWay Environment Properties
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
Configuring the bpelPsInsert Modeling Elements
Business Process Activities
Business Process Activity
BpelPsInsert Business Process
Configuring the bpelUpdate Modeling Elements
Steps required to configure the bpelUpdate business process
BpelUpdate Business Process
Configuring the bpelDelete Modeling Elements
BpelDelete Business Process
Steps required to configure the bpelDelete business process
BpelTableSelect Business Process
Configuring the bpelTableSelect Modeling Elements
BpelTableSelect Business Rule #
BpelSelectTable Business Rule #
Creating the Connectivity Map
Steps required to create the Connectivity Map
To Select a Jdbc External System
To Select a Jdbc Business Process
Binding the eWay Components
109
FileClientOUT eWay FileClientIN eWay EaJDBCOUT eWay
111
112
113
114
Running the Sample Project
116
JDBC/ODBC Drivers
AS/400 Database Connection Information
Configuration Properties
AS/400 Toolbox Driver
OTD Wizard Database Connection Information
Attunity Driver
Environment Properties
AS/400 Database Environment Properties
Attunity Driver Database Environment Properties
Attunity Driver Database Connection Information
Parameter Value MaxIdleTime Default is
MySQL Connector/J Driver
MySQL Connector/J Driver Database Connection Information
MySQL Connector/J Driver Environment Properties
PostgreSQL Driver Connection Information
PostgreSQL Driver
PostgreSQL Driver Environment Properties
SyBase JConnect Driver
Sybase JConnect Driver Database Connection Information
Sybase JConnect Driver Environment Properties
Sequelink DataDirect Informix Odbc Driver
Sequelink DataDirect MS Access Odbc Driver
MS Access Odbc Driver Environment Properties
MS Access Odbc Driver Database Connection Information
Teradata Driver
Teradata Driver Database Connection Information
Teradata Driver Environment Properties
Installing JDBC/ODBC Drivers
Troubleshooting
Index
Jdbc
Update count