Descriptor Info
Use to associate a descriptor to a specific table in the database, define primary key(s), specify sequencing information, and set caching options.
- Associated Table
- Choose a database table for the descriptor. You must associate the descriptor with a database table before mapping the descriptor's attributes.
To add new table, select New Offline Table or Import Database Objects. See "Working with Offline Database Definitions" for more information.
- Primary Keys
- Specify the primary key(s) for the table.
- Use Sequencing
- Specify if this descriptor uses non-native sequencing. If selected, specify the Name, Table, and Field for sequencing. See "Working with Sequencing" for more information.
- Read Only
- Specify if this descriptor is read-only.
- Conform Results in Unit of Work
- Specify to use the conformResultsInUnitOfWork() method for any read object or read all query. Refer to the OracleAS TopLink Application Developer's Guide for more information.
- Refreshing Cache Options
- Use these caching options to specify how descriptors refresh the objects in the cache during queries. This ensures that queries against the session will refresh the objects from the row data.
- Default
- Use the project's default caching options (as specified on the Defaults tab). See "Specifying Default Properties" for more information.
- Always Refresh
- Refreshes the objects in the cache on all queries.
Note: Using this property may impact performance.
- Disable Cache Hits
- Disables the cache hits on primary key read object queries.
- Only Refresh if Newer
- Refreshes the cache only if the object in the database is newer than the object in the cache (as determined by the Optimistic Locking field on the descriptor's Locking tab). See "Working with Optimistic Locking" for more information.
Copyright © 1997, 2004, Oracle.
All rights reserved.