sipXconfig - Access to original bean values
- From: Damian Krzeminski <damian (at) pingtel.com>
- Date: Tue, 24 Jan 2006 09:39:58 -0500
Douglas Hubler wrote:
Developers,
If you need to access a bean's original values before a bean is saved
but after it's been modified by business layer, I added a
getOrginalValue(bean, property) to DAO base class. Came in handy for
fixing XCF-811
Douglas
Nice. Hard core hibernate code.
On a related note: I actually would like to move pretty much entire SipxHibernateDaoSupport to
DaoUtils. I do not have a good feeling about requiring our Context/Manager classes to inherit from
this. This is more of an aspect related and injecting this functionality through inheritance does
not buy us enough syntactic sugar to justify it.
D.
_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev