Oracle® TopLink Developer's Guide 10g Release 3 (10.1.3.1.0) Part Number B28218-01 |
|
|
View PDF |
This chapter describes the various components that you must configure in order to be able to use historical sessions.
For information on configuring a historical session using an Oracle database platform, see "Configuring Historical Sessions Using an Oracle Platform".
For information on configuring a historical session using any supported database platform and a TopLink HistoryPolicy
, see "Configuring Historical Sessions Using a TopLink HistoryPolicy".
For more information about historical sessions, see "Historical Sessions".
There are two ways to configure TopLink to access the historical versions of objects maintained by your data source:
Oracle9i Database Server (or later) automatically maintains historical versions of objects and extends SQL with an AS_OF
clause used to query this historical data. Oracle refers to these as flashback queries.
If you configure your Session
with an OraclePlatform
(see "Configuring a Relational Database Platform at the Session Level") for Oracle9i Database Server (or later), you can query the historical versions of objects automatically maintained by Oracle Database.
No further session configuration is required.
For more information, see the following:
If you use a schema that you designed to maintain historical versions of objects and if that schema can be described by TopLink HistoryPolicy
, you can query the historical versions of objects maintained by your database in accordance with your schema.
For more information, see the following: