This looks to me like you are *way* overcomplicating this. :-)
The method should be more like this:
public List getArtistInfo(){
return sqlMap.queryForList("getArtistInfo", list);
}
Unless you have some really crazy wacky stuff going on, there should
never be a need for you to deal with connections at that level.
Also, what's the purpose of passing in 'list' as the second parameter
there? I don't see where it would ever be non-null.
Larry
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]