Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-857

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0M2
    • Core Library
    • 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.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: