Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Understanding the Query API

Table 96-11 summarizes the query support provided by each type of session. For each session type, it shows the type of query operation (create, read, update, delete) that you can perform and whether or not you can execute a DatabaseQuery or Call. For example, using a unit of work, you can use session queries to read and delete; using a server session, you can use session queries to create, read, update, and delete.

Table 96-11 Session Query API Summary

Session Create Read Update Delete Execute Database Query Execute Call

Unit of work

Unsupported.
Supported.
Unsupported.
Supported.
Supported.
Supported.

Database

Supported.
Supported.
Supported.
Supported.
Supported.
Supported.

Server

Supported.
Supported.
Supported.
Supported.
Supported.
Supported.

Client

Unsupported.
Supported.
Unsupported.
Unsupported.
Supported.
Supported.

Example 96-4 summarizes the important TopLink packages that provide query and expression support:

Example 96-4 Query and Expression Packages

oracle.toplink.queryframework
oracle.toplink.expressions
oracle.toplink.querykeys
oracle.toplink.descriptors.DescriptorQueryManager