I use "Column" prefix for this handler at home too.
BTW I faund "ColumnPairHandler" handler is a one usefull too:

"SELECT ID,NAME FROM SOME_TABLE"

Object handle(ResultSet rs)throws SQLException{
Map map = new HashMap();
while(rs.next()){
map.put(rs.getObject(1),rs.getObject(2));
}
return map;
}


David Graham wrote:


Well, everything is an Object so that doesn't help much.  Maybe
ColumnListHandler?

David

--- Bagyinszki P&#233;ter <[EMAIL PROTECTED]> wrote:


David Graham  <[EMAIL PROTECTED]> 2004.03.02. 06:34:41 -8h-kor
&#237;rta:



Please create a bugzilla enhancement ticket and attach these files to


it


so they don't get lost. While I think the handler is useful, its name


is


non-sensical :-). It fits with the other naming conventions for


handlers


but you can't really have a scalar and a list at the same time.

David


What do you think about the name "ObjectListHandler"?

--
petike
http://petike1.uw.hu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to