SupportedMapMethods must be extended by queries calling isEmpty() and size():
- SELECT FROM Person WHERE phoneNumbers.isEmpty()
- SELECT FROM Person WHERE phoneNumbers.size() == 2
SupportedCollectionMethods must be extended by queries calling contains() and size():
- SELECT FROM Department WHERE employees.contains(employee) PARAMETERS Employee employee
- SELECT FROM Department WHERE employees.size() == 3
Description
SupportedMapMethods must be extended by queries calling isEmpty() and size():
- SELECT FROM Person WHERE phoneNumbers.isEmpty()
- SELECT FROM Person WHERE phoneNumbers.size() == 2
SupportedCollectionMethods must be extended by queries calling contains() and size():
- SELECT FROM Department WHERE employees.contains(employee) PARAMETERS Employee employee
- SELECT FROM Department WHERE employees.size() == 3
Michael Watzek added a comment - 26/Nov/05 12:55 AM The attached patch fixes this issue.
Additionally, the classes have been adapted to the new result handling implemented as part of JDO-216.
JDO-223: SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().
Additionally, the classes have been adapted to the new result handling implemented as part of
JDO-216.