A more sound enhancer algorithm that intercepts access to persistent fields
---------------------------------------------------------------------------
Key: CAY-858
URL: https://issues.apache.org/cayenne/browse/CAY-858
Project: Cayenne
Issue Type: Improvement
Components: Cayenne Core Library, Cayenne JPA
Affects Versions: 3.0
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
Fix For: 3.0
Currently the enhancer uses a "naive" algorithm of enhancing getters and
setters of persistent properties. It should leave those alone and instead do a
more general check for attempts to read/write the field inside any instance
method of the class. The following spec statement ensures that the new
algorithm will work: "An instance variable may be directly accessed only from
within the methods of the entity by the entity instance itself."
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.