By Date: <-- -->
By Thread: <-- -->

sipXconfig - Access to original bean values



I wrote SipxHibernateDaoSupport originally as a way to factor out common functionality -- if you want to put this code in DaoUtils, no problem, and you have a good argument for doing so.

-Walter

Damian Krzeminski wrote:

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

_______________________________________________ sipx-dev mailing list sipx-dev (at) list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-dev