Defining an Oracle Database Adapter

Oracle JCA Adapter for Database 9-9 Figure 9–7 The Adapter Configuration Wizard: Service Connection Page Note the following: ■ In production environments, it is recommended that you add the JNDI entry to the adapter deployment descriptor weblogic-ra.xml. This way, the Oracle Database Adapter is more performant by working in a managed mode. For information about creating a data source and an outbound connection pool, see Section 2.19, Adding an Adapter Connection Factory. ■ When you click Next, a connection to the database is attempted. If a connection cannot be made, you will not be able to proceed to the next window, even if you are editing an existing partner link. See Section 9.2.4, Selecting the Operation Type to continue using the Adapter Configuration Wizard.

9.2.4 Selecting the Operation Type

Figure 9–8 shows where you indicate the type of operation you want to configure for this service. 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.