|
From: Rod J. <rod...@in...> - 2003-05-12 06:30:57
|
Fine. Let's try to get rid of all deprecated classes by 1.0. Regards, Rod ----- Original Message ----- From: "Thomas Risberg" <tri...@tr...> To: <spr...@li...> Sent: Monday, May 12, 2003 3:51 AM Subject: [Springframework-developer] Renamed ManualExtractionSqlQuery ... > I have gone ahead and renamed the ManualExtractionSqlQuery and > ManualExtractionSqlQueryWithParameters to MappingSqlQuery and > MappingSqlQueryWithParameters respectively. When you use these classes > you must override mapRow() instead of extract(). Otherwise everything > works the same. I left the old classes marked as deprecated. Old code > will still work. ManualExtractionSqlQueryWithParameters now extends > MappingSqlQueryWithParameters so they both execute the same code. > Could not find tests for these classes, but I will try to add some in > the near future. > > Thomas > > > And once more for the list! > > > > > > Speaking of the ManualExtractionSqlQuery -- is there any chance > that we > > > > could rename this class to maybe MappingSqlQuery or something similar? > > > > The current name makes it sound like there is a lot of manual work > > > > involved in extracting some data from the database. In reality, it is > > > > an elegant way of mapping your row data to Java classes, and I > think the > > > > name should reflect this. If we also renamed the extract() to > mapRow(), > > > > then that would in my mind make everything much clearer. Any thoughts > > > > on this? > > > > > > This is a good point. I've no objection. Is everyone happy with Thomas's > > > proposed name? > > > > > > R > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > -- > Thomas Risberg > tri...@tr... > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |