On Mon, Oct 12, 2009 at 10:39 PM, Patrik Nordwall <patrik.nordw...@gmail.com> wrote: > I have started to review the new smartclient feature. There are a few things > we should do to make it even easier to get started. We should get rid of the > zip file by moving things to the core sculptor generator and framework. I will try to write one template which can generate this.
> The full audit log feature is independent of smartclient and we should > define generator property to make it easy to use that audit log > implementation. Definitely yes. > How are the auditing fields (changed fields) stored, or what is the purpose > of the audit recording? Old values are stored in transient HashMap inside domain objects. In our business logic we need access to old values. Getting them through separate hibernate session is tricky and not portable. For example you have TODO object and when TODO is started you can change dead line but only to future (not back). Validation logic can use old value to compare and fire exception. Second example. When somebody change second name in Person, separate task have to be started to double check. In future I would like to provide some AuditLogging (log file output) or PersistentLogging (db output) aspect which can use this feature. Regards Pavel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer