Specifying a Reference Object
You have to specify a reference object for a parent table and designate a column of the reference object as the key.
Procedure
- Add a source table with a parent-child relationship and create a view for Publication Service.
-
Click the
Publication Options tab and specify the following options:
- Select Publish by Reference from the Storage Mode list.
- Type the table name to use for storage in the Publishing Table field. A common practice is to use the source table name prefixed by P_.
-
Type the name of the view or a different database object to select source data from the
Referred Object field.
To select source data from a list of tables in the current user schema, click Add. To select an object from a different schema, click Add From. For example, select VIEW_PA1.
-
Select a method for updating tables from the
Update Mode list.
For details about the modes, see the description about the Update Mode field in Publication Options Tab.
- Save the adapter configuration.
-
Designate a column of the reference object as the key.
You must explicitly designate a key column or substitute key column for the reference object, because a reference object has no external designation of the key column.
- Click the Configuration tab of Publication Service.
- In the tab, click the Class Reference link in the Schema panel to open the AE schema used by the adapter service.
- In the Classes tab, expand the reference object VIEW_PA1 in the All Classes panel and select the column you want to designate as the key.
- From the Configuration panel, select the Key check box.
- Save the AE schema.
Copyright © Cloud Software Group, Inc. All Rights Reserved.