138 Queries with JDOQL Table 8.2 Comparative operators
138 Queries with JDOQL Table 8.2 Comparative operators Operator Description == Equal != Not equal > Greater than < Less than >= Greater than or equal <= Less than or equal + Numeric addition and string concatenation * Multiplication / Division JDOQL supports the casting and de-referencing of fields that are reference types. Both are performed using the familiar Java operators, shown in Table 8.3. Table 8.3 Reference operators Operator Description (Class) Object casting . De-reference a reference type field (as in field1.field2) Finally JDOQL supports the following unary operators, which apply to the expression immediately to their right (Table 8.4). Table 8.4 Unary operators Operator Description ~ Integral bit-wise complement Numeric sign inversion 8.5.2 Supported keywords The keyword this is a reserved word in JDOQL. It is used in filter expressions to refer to the instance of the candidate collection for which the filter expression is currently being evaluated. It can also be used to differentiate between persistent fields of the candidate class and identically named query parameters. An example of such usage is given under section 8.6.1.
Note: If you are looking for inexpensive but high quality provider to host and run your jsp application check Astra jsp hosting services