[JIRA] Created: (CAY-858) A more sound enhancer algorithm that intercepts access to persistent fields

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Sat Sep 01 2007 - 13:10:51 EDT

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-859) Cayenne agent misses JPA entity classes that were loaded before their PersistenceUnits"

    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.
    



    This archive was generated by hypermail 2.0.0 : Sat Sep 01 2007 - 13:11:18 EDT