cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [jira] [Created] (CAY-1553) cayenne-lifecycle: @SortWeight annotation
Date Thu, 24 Mar 2011 14:50:06 GMT
cayenne-lifecycle: @SortWeight annotation 

                 Key: CAY-1553
             Project: Cayenne
          Issue Type: Task
          Components: Lifecycle Extensions
    Affects Versions: 3.1M2
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik

Sometimes it is useful to manually override the operation ordering for some entities. E.g.
per CAY-1547 we support UuidRelationships, but saving an object with a UuidRelationship to
another object does not generate correct ordering. So we may want to override default ordering
for entities annotated with @UuidRelationship. E.g.:

class My extends _My {}

Note that this approach will not be able to address all shortcomings of a generic AshwoodEntitySorter.
It is somewhat of a hack. So it will be placed in cayenne-lifecycle and treated as an "extension".

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message