[
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