PDA

View Full Version : Realization FindByNamedQuery


zerg78
10-23-2006, 02:07 PM
Question for developers:

When HibernateTemplate.FindByNamedQuery method will be realized?

Mark Pollack
10-23-2006, 08:16 PM
Hi,

The catch-all FindByNamedQuery method was implemented, i.e.
public IList FindByNamedQuery(string queryName, object[] values, IType[] types)
but not the other overloads. I've just added that code now. You can get it from CVS. I am working on getting our CC.NET server back up and running so you can easily download the code.

I also implemented the method
public void SaveOrUpdateAll(ICollection entities)

so now there are no unimplemented methods. Let me know if you can't get it from CVS.

Cheers,
Mark

P.S. Shortly I will be updating the version of Spring.Data used in the NHibernate build, which changes how you create instances of IDbProvider. See the docs (http://www.springframework.net/doc-latest/reference/html/dbprovider.html) for more info.