You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2009/12/28 20:57:29 UTC
[jira] Closed: (CAY-670) Class enhancement needed for JPA entity
callbacks
[ 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.