Error 21053

Message

Possible error messages:

Without Resource Bundle (default)
  • Attribute "{NAME}" can not be used in MAX or MIN
  • {ATTRIBUTE_NAME} datatype is not allowed for operation: {OPERATION}
With Resource Bundle
  • Attribute "{ATTRIBUTE_NAME}" can not be used in MAX or MIN
Domain Persistence.PersistenceException
Number 21053
Label ATTRIBUTE_CANNOT_USED_IN_MAX_OR_MIN
Applicable Platform(s) iOS, Android, BlackBerry, Windows Mobile

Cause

The datatype of the specified attribute cannot be used in MAX or MIN aggregate functions.

Action

Use only these primitive data types in MAX or MIN : STRING,BINARY,CHAR,BYTE,SHORT,INT,LONG,INTEGER,DECIMAL,FLOAT,DOUBLE,DATE,TIME,DATE_TIME.