transaction.setFitID(null);
resultSet.getString("PAYEE_ID");
if (!resultSet.wasNull()) {
if (lazyLoad) {
Payee parentPayee = new Payee();
parentPayee.setPayeeID(new String(resultSet.getString("PAYEE_ID")));
transaction.setPayee(parentPayee);
}
else {
String payeeID = new String(resultSet.getString("PAYEE_ID"));
if (!resultSet.wasNull()) {
String payeeWhere = "WHERE PAYEE_ID = '" + payeeID.toString() + "' ";
DAO dao = daoFactory.getDAO("payee");
List payeeList = dao.load(payeeWhere, null, true);
if (payeeList.size()>0) {
Payee parentPayee = (Payee)payeeList.get(0);
transaction.setPayee(parentPayee);
}
}
}
}