Skip Headers

# Expression Finders

Previous

Next

Using a finder based on a TopLink `Expression` offers the following advantages:

- Version-controlled standardized queries in Java code

- Ability to simplify most complex operations

- A more complete set of querying features than is available through EJB QL

Because expressions lets you specify finder search criteria based on the object model, they are frequently the best choice for constructing your finders.

For more information, see "TopLink Expressions".

For more information on TopLink predefined finders that take an `Expression`, see "Predefined Finders".

You can also use an `Expression` in a finder that takes a `DatabaseQuery` by using `DatabaseQuery` method `setSelectionCriteria`. For more information on TopLink predefined finders that take a DatabaseQuery, see "DatabaseQuery Finders".