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 2020/11/19 13:06:00 UTC
[jira] [Created] (CAY-2692) Add entity lifecycle callbacks via
annotated methods
Nikita Timofeev created CAY-2692:
------------------------------------
Summary: 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
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)