Comparison queries are the simplest RQL queries, where a property’s value is compared against another property value, or against a constant. For example:

age > 30

All standard comparison operators can be used:







These operators can be applied to String properties and arguments, where case ordering is determined by lexical order of the Strings.

In general, these operators can only be used on properties that are scalar values. They should not be used on multi-valued properties.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices