cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CAY-670) Class enhancement needed for JPA entity callbacks
Date Mon, 28 Dec 2009 19:57:29 GMT

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

Andrus Adamchik closed CAY-670.
-------------------------------

    Resolution: Won't Fix

> Class enhancement needed for JPA entity callbacks
> -------------------------------------------------
>
>                 Key: CAY-670
>                 URL: https://issues.apache.org/jira/browse/CAY-670
>             Project: Cayenne
>          Issue Type: Task
>          Components: Cayenne JPA
>    Affects Versions: 3.0
>            Reporter: Andrus Adamchik
>             Fix For: Short term future
>
>
> Entity callback inheritance implemented per CAY-669 can't address one JPA requirement
(footnote [22] on page 62 of the spec):
> "Note that if a method overrides an inherited callback method but specifies a different
lifecycle event or is not a lifecycle callback 
> method, the overridden method will be invoked."
> "java.reflect.Method#invoke" behavior is polymorphic, so calling a super doesn't seem
possible via normal Java reflection... So a class enhancemen seems to be required to call
"super" from within the object. Is there any other way to do that?

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


Mime
View raw message