You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2021/02/02 14:17:00 UTC
[jira] [Closed] (CAY-2692) Add entity lifecycle callbacks via
annotated methods
[ https://issues.apache.org/jira/browse/CAY-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2692.
--------------------------------
Resolution: Fixed
https://github.com/apache/cayenne/commit/d846a408ca432a533fbeaaeb822051f27e8cc32d
> Add entity lifecycle callbacks via annotated methods
> ----------------------------------------------------
>
> Key: CAY-2692
> URL: https://issues.apache.org/jira/browse/CAY-2692
> Project: Cayenne
> Issue Type: Improvement
> Components: Core Library
> Reporter: Nikita Timofeev
> Assignee: Nikita Timofeev
> Priority: Major
> Fix For: 4.2.M3
>
>
> To implement callback user needs the following:
> * add a callback method to the entity in the modeler
> * generate classes
> * implement actual callback
> With annotated methods, users could skip right to the third point.
> Moreover, we already have lifecycle listeners that use annotations, so implementation should be straightforward.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)