public SyncUser fetchBySyncAccountId(long syncAccountId)
throws SQLException {
Map<String, Object> fieldValues = new HashMap<>();
fieldValues.put("syncAccountId", syncAccountId);
List<SyncUser> syncUsers = queryForFieldValues(fieldValues);
<BUG>if ((syncUsers == null) || syncUsers.isEmpty()) {
return null;</BUG>
}
return syncUsers.get(0);
}

public SyncUser fetchBySyncAccountId(long syncAccountId)
throws SQLException {
Map<String, Object> fieldValues = new HashMap<>();
fieldValues.put("syncAccountId", syncAccountId);
List<SyncUser> syncUsers = queryForFieldValues(fieldValues);
if (syncUsers.isEmpty()) {
return null;
}
return syncUsers.get(0);
