* @param userid the user id
* @throws Exception if an exception occurs
*/
public void querySqlDB(TaskContext context, Connection con, int userid) throws Exception {
key = null;
SqlQInfo info = getSqlQInfo();
info.setWhere("USERID=?");
List<Object> bindings = new ArrayList<Object>();
bindings.add(new Integer(userid));
info.setQueryBindings(bindings);
SqlQuery q = new SqlQuery();
q.query(context,con,info, new SqlRowHandler() {
@Override
public void handleSqlRow(TaskContext context, Connection con, ResultSet rs,
long rowNum) throws Exception {