Skip Headers

Oracle TopLink Developer's Guide 10g Release 3 (10.1.3) B13593-01 |
| Home | Solution Area | Contents | Index

Previous | 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 |  |  |  |  |  |
Database |  |  |  |  |  |
Server |  |  |  |  |  |
Client |  |  |  |  |  |

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