[ 
https://issues.apache.org/cayenne/browse/CAY-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrus Adamchik closed CAY-950.
-------------------------------

    Resolution: Fixed

> Look up callback methods on listener superclasses
> -------------------------------------------------
>
>                 Key: CAY-950
>                 URL: https://issues.apache.org/cayenne/browse/CAY-950
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.0
>
>
> This is another feature that expands Cayenne listener implementation compared 
> to JPA (the first one was CAY-949). To facilitate code reuse it should be 
> nice to be able to define callback methods in a listener superclass, so that 
> subclasses could simply override some behavior without declaring all callback 
> methods. In fact JPA does not prohibit this behavior. It just doesn't mention 
> anything about the superclass methods of a listener class.
> Currently Cayenne throws when a declared callback method is not found. I am 
> going to add lookup for the method in question up the hierarchy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to