Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
None
Description
DerivedDbEntity was an attempt to map aggregate queries as entities. It is very limited in that only aggregation within a single table is supported; its mapping is somewhat complicated; it is rarely used in practice; and we've already warned the users over the years on the mailing list that it is going away, so it's use was discouraged all along. The plan is to deprecate the corresponding API in 3.0M2 and remove it in 3.0M3. Deprecation visible to the user will affect SelectQuery.
While there is no direct replacement, EJBQL scalar queries can help selecting aggregated value.