cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [JIRA] Created: (CAY-670) Class enhancement needed for JPA entity callbacks
Date Wed, 27 Sep 2006 16:00:48 GMT
Class enhancement needed for JPA entity callbacks

         Key: CAY-670
     Project: Cayenne
        Type: Task

  Components: Cayenne JPA  
    Versions: 3.0    
    Reporter: Andrus Adamchik
     Fix For: 3.0

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.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message