EWAY JDBC/ODBC Adapter USER’S Guide
Part Number Version
Contents
Transaction Support Levels Between Different Versions
Activity Input and Output
Stored Procedure
Creating the Collaboration Definitions Java
Create the Collaboration Business Rules
Building and Deploying the prjJDBCBPEL Sample Project
Building and Deploying the Project Running the Sample
About Java Database Connectivity Jdbc
Jdbc Drivers
What’s In This Chapter
Type I JDBC-ODBC Bridge
Type One Driver
Pros
Type II Partial Java driver
Type Two Driver
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
About the JDBC/ODBC eWay
What’s New in This Release
New for Version
About This Document
Scope
Jdbc eWay Javadoc
Intended Audience
Related Documents
Sun Microsystems, Inc. Web Site
Text Conventions
Documentation Feedback
Installing the JDBC/ODBC eWay
Installing the Jdbc 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
Installing Enterprise Manager eWay Plug-Ins
To add plug-ins from the Enterprise Manager
Alert Codes for the JDBC/ODBC eWay
Viewing Alert Codes
To View the eWay Alert Codes
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
Connectivity Map Outbound eWay Properties
Outbound XA eWay Configuration Settings Include
EWay Environment Properties
Connectivity Map Outbound non-Transactional eWay Properties
Outbound Jdbc eWay Properties
Inbound Jdbc eWay-Parameter Settings
Inbound Jdbc eWay Properties
Name Description Required Value
Is Jdbc Connection Pool Datasource
Jdbc Connector Settings
Outbound Jdbc eWay-JDBC Connector Settings
ConnectionPoolDataSource
Connection Retry Settings
Outbound Jdbc eWay-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
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
About the Database OTD Wizard
Creating a New Jdbc OTD
Select Wizard Type
Connect To Database
Select Database Objects
Required Database Connection Fields include
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
Steps Required to Specify the OTD Name
Specify the OTD Name
Review Selections
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
Stored Procedure
Delete Operation
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 input files
Sample output JCD files
Sample output Bpel files
Assigning Operations in JCD
Sample Project Data
Operations Used in the Jdbc Sample Projects
Assigning Operations in Bpel
Running the Sample Projects
About the eInsight Engine and eGate Components
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 a Project
Creating the OTDs
Steps required to create a Jdbc Database OTD
Creating a Connectivity Map
Click Next the Add Prepared Statements Wizard appears
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 jcdInsert Collaboration
JcdInsert Collaboration
JcdPsSelect Collaboration
Steps required to create the jcdPsSelect Collaboration
JcdTableSelect Collaboration
JcdPsUpdate Collaboration
Steps required to create the jcdPsUpdate Collaboration
Steps required to create the 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
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
FileClientIN eWay Property Settings
Configuring the eWay Properties
Steps required to configure the eWay properties
FileClientOUT 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
Creating and Starting the Domain
Steps required to create the Deployment Profile
Steps required to create and start the domain
Building and Deploying the Project
Running the Sample
Build the Project
Building and Deploying the prjJDBCBPEL Sample Project
Steps required to create a Jdbc Database OTD include
Steps required to create inbound and outbound DTD OTDs
Creating the Business Process
Creating the Business Process Flow
Steps to create a business process flow include
Configuring the bpelPsInsert Modeling Elements
Business Process Activities
Business Process Activity
BpelPsInsert Business Process
Configuring the bpelUpdate Modeling Elements