Profile Conditions

Syntax

		[ NOT ] conditionalExpression [ logicalOperator conditionalExpression [...n ] ]

Parameters

Description

Profile conditions specify the criteria used to select a subset of the database records associated with the persistent class of which the referencing profile is a member.

Restrictions

Profile conditions are expressed as conditional expressions that can consist of:

Profile Key Values

While reading database records, mismatching data types cannot be used as values for profile keys. Use of string in place of numeric (including signed numeric as well as date) and vice versa is disallowed.

The following rules apply for mismatching types:

Example

This condition specifies that the profile should retrieve records where the value of the Price attribute exceeds 10000 or if both the value of the Price attribute does not exceed 10000 and the CustType attribute is set to "A":

Price > 10000 || (Price <= 10000 && CustType = "A")