Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
New functional expressions doesn't work with ToMany collections.
For example this will fail with ExpressionException:
Expression exp = Artist.PAINTING_ARRAY .dot(Painting.PAINTING_TITLE) .substring(1, 1) .getExpression(); Artist artist = ObjectSelect.query(Artist.class) .orderBy("db:ARTIST_ID") .selectFirst(context); Object res = exp.evaluate(artist);