|
From: <jue...@we...> - 2004-11-01 17:43:50
|
Well spotted... just fixed both! =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Colin Sampaleanu Gesendet: Mo 01.11.2004 17:25 An: spr...@li... Betreff: Re: [Springframework-developer] SqlMapDaoSupport and = InitializingBean 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=FCrgen h=F6ller [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 >=20 > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |