Error 21048

Message

Possible error messages:

Without Resource Bundle (default)
  • From Entity is not same as the MBO which calls FindWithQuery
  • Unexpected entity: {ENTITY_NAME}
With Resource Bundle
  • From Entity is not same as the MBO which calls FindWithQuery
Domain Persistence.PersistenceException
Number 21048
Label ENTITY_NOT_SAME
Applicable Platform(s) iOS, Android, BlackBerry, Windows Mobile

Cause

In the query object, a different entity in the from clause has been specified when calling MBO.findWithQuery .

Action

Do not specify a"from" entity for MBO.findWithQuery, which can only select from the MBO.