queryForMap(SqlBuffer sb) throws ServiceException;
+ /**
+ * Query given SQL to create a prepared statement from SQL and a
+ * list of arguments to bind to the query, expecting a result Map.
+ * The query is expected to be a single row query; the result row will be
+ * mapped to a Map (one entry for each column, using the column name as the key).
+ * @param sb SqlBuffer
+ * @param rowMapper ResultSet row convert to map handler
+ * @return the result Map (one entry for each column, using the column name as the key)
+ * @throws org.springframework.dao.IncorrectResultSizeServiceException
+ * if the query does not return exactly one row
+ * @throws ServiceException if the query fails
+ * @see org.springframework.jdbc.core.JdbcTemplate#queryForMap(String)
+ * @see org.springframework.jdbc.core.ColumnMapRowMapper
+ */
+ Map queryForMap(SqlBuffer sb, RowMapper