You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2007/09/01 14:17:50 UTC

[JIRA] Created: (CAY-857) Deprecate derived DbEntity and all associated API's - schedule for removal in 3.0M3

Deprecate derived DbEntity and all associated API's - schedule for removal in 3.0M3
-----------------------------------------------------------------------------------

                 Key: CAY-857
                 URL: https://issues.apache.org/cayenne/browse/CAY-857
             Project: Cayenne
          Issue Type: Task
          Components: Cayenne Core Library
    Affects Versions: 3.0
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 3.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.