JDBCFieldBridge[] tableFields = relatedEntity.getTableFields();
for (int fieldInd = 0; fieldInd < tableFields.length; ++fieldInd) {
if (node.eagerLoadMask[fieldInd]) {
JDBCFieldBridge field = tableFields[fieldInd];
ref[0] = null;
index = field.loadArgumentResults(rs, index, ref);
if (cacheRelatedData) {
if (log.isTraceEnabled()) {
log.trace("Caching " +
relatedEntity.getEntityName() +