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