|
From: James E. <jam...@gm...> - 2005-06-19 23:22:28
|
I assume by "autowiring" you mean the ability to pass in a bean and the=20 named parameters are automagically pulled from the bean and bound to the=20 named query. If so, you might have a look at the=20 findByNamedQueryAndValueBean method on HibernateTemplate: http://static.springframework.org/spring/docs/1.2.x/api/org/springframework= /orm/hibernate/HibernateTemplate.html#findByNamedQueryAndValueBean(java.lan= g.String,%20java.lang.Object) Just for clarity...when I hear "autowire" I think "dependencies injected=20 from spring managed beans in the container". Unless you really do mean=20 something like that? James On 6/19/05, Steve Stallion <sst...@gm...> wrote: >=20 > hello all, >=20 > i am about to start on a project aimed at simplyfing hibernate dao > integration into spring. The general idea is to provide autowiring for > named queries to a given dao interface - ive been quite suprised this > hasnt been done yet. >=20 > is anyone aware if this has indeed been proposed, or if so, if there are > any implementations available already? >=20 >=20 > thanks! >=20 > Steve >=20 > -- > Yet magic and hierarchy > arise from the same source, > and this source has a null pointer. >=20 > Reference the NULL within NULL, > it is the gateway to all wizardry. >=20 >=20 > ------------------------------------------------------- > SF.Net <http://SF.Net> email is sponsored by: Discover Easy Linux=20 > Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic= k > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |