Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Designing: Creating an Oracle Applications OTD
 

Classic Java CAPS

Developing Java CAPS Projects

Using SOAP Message Handlers

Creating a Runtime Environment

Designing Business Processes in the Sun Business Process Manager

Working with TCP/IP HL7 Collaborations

Developing Sun Master Indexes (Repository)

Developing Sun Master Patient Indexes

Developing OTDs for Application Adapters

Creating SAP BAPI OTDs

SAP BAPI Encoding

Date and Time Stamp Requirements

Installing SAP JCo

Creating BAPI and RFC OTDs

Relaunching BAPI and RFC OTDs

Creating a SAP ALE OTDs Wizard

SAP JCo and SAP IDoc Class Library Installation

SAP Java IDoc Class Library

Creating IDoc OTDs

Exporting the IDOC File from SAP

Saving the IDoc Description File (After 4.6)

Creating Siebel EAI OTDs

Before Creating the OTD

Creating the OTD

Creating COBOL Copybook OTDs

To create COBOL Copybook OTDs

Parsing Copybook Entries

COBOL Copybook OTD

Relaunching OTDs

To Relaunch an Existing OTD

COBOL Copybook OTD Methods

OTD Method Guidelines

Root-level Methods

Non-Root Methods

BPEL Operations

Creating an Oracle Applications OTD

Select Wizard Type

Connect To Database

Select Oracle Applications Module

Specify the OTD Name

Review Selections

Exposed Oracle Applications OTD Nodes

Staging Table Node

COUNT

DELETE

INITIALIZE

MOVE

REQUEST

REQUEST_STATUS

VALIDATE

SWIFT Alliance Gateway Adapter OTD Features

Configuration Node

Generating DTDs from PeopleTools 8.13

Generating and Publishing an XML Test Message

To generate a PeopleSoft XML message

Extracting and Viewing the XML Test Message

To view the XML message

Generating a DTD for the XML File

Creating OTDs

OTD Methods and Business Process Operations

sendMessage() method

Developing OTDs for Communication Adapters

Developing OTDs for Database Adapters

Developing OTDs for Web Server Adapters

Designing with Application Adapters

Designing with Communication Adapters

Designing with Web Server Adapters

SWIFT Integration Projects

Java EE Based Components

Designing with Sun JCA Adapters

About the TCP/IP JCA Adapter

Defining Constants and Variables

Using Database Operations

Developing Sun Master Indexes

Using the JMS JCA Wizard

Using the JAXB Wizard and Code-Seeder Pallete

Creating an Oracle Applications OTD

The Oracle Applications Adapter uses a wizard-based OTD builder to create OTDs based on your Oracle tables. The wizard queries the Oracle tables to determine the hierarchies of the interface tables for a particular module, and creates a corresponding OTD. It also sets up the necessary staging table and the stored validation procedures to be run against the table.

Figure 18 Oracle Applications OTD
Oracle Apps Builder

When building an OTD, the wizard calls many JDBC APIs (for example, getProcedureColumns()) which in turn queries the database and returns the resultset. While the Adapter itself doesn’t issue the queries directly, it is the Oracle driver that translates the API into multiple queries. In a situation where there is a lot of data in the database, it may take a while to return all the resultsets to the wizard. The performance of the queries is dependent on the execution path which is formulated when a SQL call is prepared. Not having good stats in the data dictionary could produce a long running query.

Oracle recommends doing the following to gather vital stats to improve performance:

  1. Set the following in either the init.ora file or spfile (whichever is appropriate for their install):

    _table_lookup_prefetch_size=0

  2. Analyze the SYS schema for the system as follows:

    1. Start sqlplus

    2. Connect as sys user

    3. exec dbms_stats.gather_schema_stats(’SYS’);

    Keep in mind that significant changes to the database would affect the data dictionary (like new tables, indexes, etc). You should consider running the analysis regularly.

    Note - Please consult your Database Administrator or Oracle before taking these steps as it may impact other applications.

The following steps are required to create a new OTD for the Oracle Applications adapter.