NESTED_DATASTORE Attributes
NESTED_DATASTORE has the following attributes:
Table 9 NESTED_DATASTORE Attributes
| Attribute |
Attribute Value |
nested_column |
Specify the name of the nested table column. This attribute is required. Specify only the column name. Do not specify schema owner or containing table name. |
nested_type |
Specify the type of nested table. This attribute is required. You must provide owner name and type. |
nested_lineno |
Specify the name of the attribute in the nested table that orders the lines. This is like DETAIL_LINENO in detail datastore. This attribute is required. |
nested_text |
Specify the name of the column in the nested table type that contains the text of the line. This is like DETAIL_TEXT in detail datastore. This attribute is required. LONG column types are not supported as nested table text columns. |
binary |
Specify FALSE for Oracle Text to automatically insert a newline character when synthesizing the document text. If you specify TRUE, Oracle Text does not do this. This attribute is not required. The default is FALSE. |
When using the nested table datastore, you must index a dummy column, because the extensible indexing framework disallows indexing the nested table column. See “NESTED_DATASTORE Example”.
DML on the nested table is not automatically propagated to the dummy column used for indexing. For DML on the nested table to be propagated to the dummy column, your application code or trigger must explicitly update the dummy column.
Filter defaults for the index are based on the type of the nested_text column.
During validation, Oracle Text checks that the type exists and that the attributes you specify for nested_lineno and nested_text exist in the nested table type. Oracle Text does not check that the named nested table column exists in the indexed table.