Skip to main content
Jump to: navigation, search

Difference between revisions of "Configuring an Object-Relational Data Type Descriptor (ELUG)"

m
m
Line 1: Line 1:
 
<div style="float:right;border:1px solid #000000;padding:5px">__TOC__
 
<div style="float:right;border:1px solid #000000;padding:5px">__TOC__
 
[[Special:Whatlinkshere/Configuring an Object-Relational Data Type Descriptor (ELUG)|Related Topics]]</div>
 
[[Special:Whatlinkshere/Configuring an Object-Relational Data Type Descriptor (ELUG)|Related Topics]]</div>
This section describes the various components that you must configure to be able to use an object-relational data type descriptor.
+
For information on how to create object-relational data type descriptors, see [[Creating%20an%20Object-Relational%20Data%20Type%20Descriptor%20(ELUG)|Creating an Object-Relational Data Type Descriptor]].
 
+
For information on how to configure EclipseLink descriptor options common to two or more descriptor types, see [[Configuring%20a%20Descriptor%20(ELUG)|Configuring a Descriptor]].
+
  
 
This table lists the configurable options for an object-relational data type descriptor.
 
This table lists the configurable options for an object-relational data type descriptor.
Line 163: Line 161:
 
|}
 
|}
  
<br />
 
  
 
For more information, see [[Introduction%20to%20Relational%20Descriptors%20(ELUG)|Introduction to Relational Descriptors]].
 
For more information, see [[Introduction%20to%20Relational%20Descriptors%20(ELUG)|Introduction to Relational Descriptors]].
Line 171: Line 168:
 
==Configuring Field Ordering==
 
==Configuring Field Ordering==
 
If your object-relational data type data source driver uses JDBC indexed arrays, you can specify the order in which EclipseLink persists object attributes to define the field index.
 
If your object-relational data type data source driver uses JDBC indexed arrays, you can specify the order in which EclipseLink persists object attributes to define the field index.
 
  
  

Revision as of 12:47, 8 January 2008

For information on how to create object-relational data type descriptors, see Creating an Object-Relational Data Type Descriptor.

This table lists the configurable options for an object-relational data type descriptor.

Option to Configure EclipseLink Workbench Java

Field ordering

Unsupported

Supported

Primary keys

Unsupported

Supported

Read-only descriptors

Unsupported

Supported

Unit of work conforming

Unsupported

Supported

Query keys

Unsupported

Supported

Cache expiration

Unsupported

Supported

Amendment methods

Unsupported

Supported

Reading subclasses on queries

Unsupported

Supported

Inheritance for a child class descriptor

Unsupported

Supported.

Inheritance for a parent class descriptor

Unsupported

Supported

Inheritance expressions for a parent class descriptor

Unsupported

Supported

Inherited attribute mapping in a subclass

Unsupported

Supported.

Cache type and size

Unsupported

Supported

Domain object method as an event handler

Unsupported

Supported

Descriptor event listener as an event handler

Unsupported

Supported

Locking policy

Unsupported

Supported

Copy policy

Unsupported

Supported

Instantiation policy

Unsupported

Supported

Wrapper policy

Unsupported

Supported

History policy

Unsupported

Supported

Returning policy

Unsupported

Supported


For more information, see Introduction to Relational Descriptors.


Configuring Field Ordering

If your object-relational data type data source driver uses JDBC indexed arrays, you can specify the order in which EclipseLink persists object attributes to define the field index.


How to Configure Field Ordering Using Java

Use ObjectRelationalDescriptor method addFieldOrdering to specify the field ordering. This example shows how to specify the order of the object-relational data type database fields OBJECT_ID, F_NAME, and L_NAME for the Employee descriptor.


Field Ordering

descriptor.addFieldOrdering("ID");
descriptor.addFieldOrdering("F_NAME");
descriptor.addFieldOrdering("L_NAME");




Copyright Statement

Back to the top