What Happens When Relationships Are Created or Removed

Oracle JCA Adapter for Database 9-17 Figure 9–16 The Adapter Configuration Wizard: Attribute Filtering Page If your object filter contains self-relationships for example, the employee-to-employee manager relationship, then you see these as loops in the tree. These loops are not present in the XSD file. This is the descriptor object model, not the XSD file. In this page, you select those columns that will appear in the XML file, whether for input MERGE, INSERT or output SELECT. Columns you are not interested in or which are to be read-only should not be modified can be deselected here. See Section 9.2.9, Defining a WHERE Clause to continue using the Adapter Configuration Wizard.

9.2.9 Defining a WHERE Clause

If your service contains a SELECT query that is, inbound polling services, or outbound services that contain a SELECT, then you can customize the WHERE clause of the SELECT statement. Figure 9–17 shows where you define a WHERE clause for an outbound service. Note: Incase of polling with Sequencing TableUpdate an External Sequencing Table, ensure that the name of the table in the SELECT query matches the case of the data in the sequencing table. 9-18 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 9–17 The Adapter Configuration Wizard: Define Selection Criteria Page The most basic expression in a WHERE clause can be one of the following three cases, depending on what the right-hand side RHS is: 1. EMP.ID = 123 In this case, the RHS is a literal value. This RHS is the Literal option shown in Figure 9–18 . 2. EMP.ADDR_ID = ADDR.ID In this case, the RHS is another database field. This RHS is the Query Key option shown in Figure 9–18 . 3. EMP.ID = ? In this case, the RHS value must be specified at run time. This is the Parameter option shown in Figure 9–18 . You can create the parameters that you need in the WHERE clause by clicking Add before you move on to build the WHERE clause. To build the WHERE clause, click Edit… to launch the Expression Builder, as shown in Figure 9–18 . Note: The WHERE clause applies to SELECT operations only that is, polling for new or changed records or performing a SELECT operation on a table. It does not apply to INSERT, UPDATE, and DELETE operations.