* @return the mapped Account aggregate
* @throws SQLException an exception occurred extracting data from the result set
*/
private Account mapAccount(ResultSet rs) throws SQLException {
if (!rs.next()) {
throw new EmptyResultDataAccessException(1);
}
Account account = null;
// build out the account object graph from the returned rows
do {