Optimizing for Queries

You can configure query optimization on any relationship mappings. The optimization requires fewer database calls to read a set of objects from the database. You can configure query optimization on a descriptor's mappings to affect all queries for that class, resulting in a significant system performance gain without changing any application code. Queries can also be optimized on a per-query basis. For more information, see the OracleAS TopLink Application Developer's Guide.

TopLink provides two query optimization features on mappings: joining and batch reading.

 

Copyright © 1997, 2004, Oracle. All rights reserved.