You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Denis Koyro (JIRA)" <ji...@apache.org> on 2012/04/26 16:38:16 UTC
[jira] [Created] (CAY-1698) ObjectIdRelationship support for
AuditableChild
Denis Koyro created CAY-1698:
--------------------------------
Summary: ObjectIdRelationship support for AuditableChild
Key: CAY-1698
URL: https://issues.apache.org/jira/browse/CAY-1698
Project: Cayenne
Issue Type: Improvement
Components: Lifecycle Extensions
Affects Versions: 3.1M3
Reporter: Denis Koyro
Priority: Minor
ATM AuditableChild annotation allows us to audit parent object by using to-one relationship from an annotated object to the "parent" object that should be audited when annotated object is changed.
This enhancement will allow to do the same by the use of ObjectIdRelationship functionality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAY-1698) ObjectIdRelationship support for
AuditableChild
Posted by "Denis Koyro (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAY-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Koyro updated CAY-1698:
-----------------------------
Attachment: CAY-1698.patch
Patch with the extended AuditableChild functionality and related unit tests.
> ObjectIdRelationship support for AuditableChild
> -----------------------------------------------
>
> Key: CAY-1698
> URL: https://issues.apache.org/jira/browse/CAY-1698
> Project: Cayenne
> Issue Type: Improvement
> Components: Lifecycle Extensions
> Affects Versions: 3.1M3
> Reporter: Denis Koyro
> Priority: Minor
> Attachments: CAY-1698.patch
>
>
> ATM AuditableChild annotation allows us to audit parent object by using to-one relationship from an annotated object to the "parent" object that should be audited when annotated object is changed.
> This enhancement will allow to do the same by the use of ObjectIdRelationship functionality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CAY-1698) ObjectIdRelationship support for
AuditableChild
Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAY-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1698.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.1M4
Thanks Denis! I applied the patch and it works great. A feature that I wanted to have for some time.
I did some minor tweaking on top of that (r1331002). From the commit log:
* documentation for the available annotation options;
* making 'value' optional;
* removing dependency on commons-lang... Unfortunately it indirectly imported via Velocity, but trying to keep the core code free from this dep
> ObjectIdRelationship support for AuditableChild
> -----------------------------------------------
>
> Key: CAY-1698
> URL: https://issues.apache.org/jira/browse/CAY-1698
> Project: Cayenne
> Issue Type: Improvement
> Components: Lifecycle Extensions
> Affects Versions: 3.1M3
> Reporter: Denis Koyro
> Priority: Minor
> Fix For: 3.1M4
>
> Attachments: CAY-1698.patch
>
>
> ATM AuditableChild annotation allows us to audit parent object by using to-one relationship from an annotated object to the "parent" object that should be audited when annotated object is changed.
> This enhancement will allow to do the same by the use of ObjectIdRelationship functionality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira