Hi! I updated the identity map design after discussion here on the list as follows:
- Removed the query caching (due to problems with bound paramaters). - Changed the ezcPersistentIdentitySession to be a decorator for ezcPersistentSession instead of extending it. - Removed the $refetch parameters for methods. Refetching should be activated globally. Access is therefore granted to the identity map itself. Open points are still: - Since ezcPersistentIdentitySession only decorates ezcPersistentSessions, it is not seamlessly possible to replace both in an application: Instanceof checks will not work. - loadIfExists() can return null. Should this result be cached or should the method try to load again if no object has been loaded successfully, yet? Thanks for further comments, Cheers! Toby -- Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer [EMAIL PROTECTED] | eZ Systems AS | ez.no -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
