Connecting to a Database

9-10 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 9–8 The Adapter Configuration Wizard: Operation Type Page The following operation types are available: ■ Call a Stored Procedure or Function Select this option if you want the service to execute a stored procedure or function. For more information, see Section 9.7, Stored Procedure and Function Support. ■ Perform an Operation on a Table Select this option for outbound operations. You can select Insert or Update, Insert Only , Update Only, Delete, Select, or any combination of the six. These operations loosely translate to SQL MERGE, INSERT, UPDATE, DELETE, and SELECT operations. For more information, see Section 9.4.2.1, DML Operations. ■ Poll for New or Changed Records in a Table Select this option for an inbound operation that is, an operation that is associated with a Receive activity. This operation type polls a specified table and returns for processing any new rows that are added. You can also specify the polling frequency. For more information, see Section 9.4.2.2, Polling Strategies. The following is a list of polling operations that you can perform after the data is read from the database, as shown in Figure 9–9 : – Delete the Rows that were Read Note: The operation Update Only sometimes performs insertsdeletes for child records. That is, an update to Master could involve a new or deleted detail. So if the input to update contains only one detail record, then the other detail records in the table are deleted. Oracle JCA Adapter for Database 9-11 – Update a Field in the [Table_Name] Table Logical Delete – Update a Sequencing Table – Update an External Sequencing Table on a Different Database – Control Table Strategy Figure 9–9 Polling Operations ■ Execute Pure SQL Useful when dealing with arbitrarily complex statements, aggregate queries result is not row-based, and XMLType columns. See Section 9.3.2, Pure SQL - XML Type Support to follow this usage of the Adapter Configuration Wizard. Otherwise, see Section 9.2.5, Selecting and Importing Tables to continue using the Adapter Configuration Wizard.

9.2.5 Selecting and Importing Tables

Figure 9–10 shows where you select the root database table for your operation. If you are using multiple related tables, then this is the highest-level table or highest parent table in the relationship tree. Note: Schema Bound XML tables are not supported.