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

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Sat Sep 01 2007 - 08:17:50 EDT

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-858) A more sound enhancer algorithm that intercepts access to persistent fields"

    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.
    



    This archive was generated by hypermail 2.0.0 : Sat Sep 01 2007 - 08:18:15 EDT