|
From: Colin S. <col...@ex...> - 2004-11-01 16:26:13
|
I just notived the code in there will potentially result in afterPropertiesSet being called twice on the sqlMapTemplate, if the latter has been passed in as an argument, instead of being created by SqlMapDaoSupport (since the container will have already called the method on the template). The source of the template probably needs to be tracked, and the afterPropertiesSet() only called if it's internally created. Ditto for SqlMapClientDaoSupport... jürgen höller [werk3AT] wrote: >Good point - just fixed it. SqlMapDaoSupport already had an afterPropertiesSet implementation, it just didn't actually implement the InitializingBean interface... Will go into 1.1.2 :-) > >Juergen > > >________________________________ > >Von: spr...@li... im Auftrag von Pierre Bittner >Gesendet: Mo 01.11.2004 14:48 >An: spr...@li... >Betreff: [Springframework-developer] SqlMapDaoSupport and InitializingBean > > > >Hi, > >I hope it's not too late for the new release, but I've noticed that >unlike other DaoSupport classes, SqlMapDaoSupport doesn't extend >InitializingBean. > >Best regards, >Pierre > > |