resultMappings.getMappingDefinitionForMemberPosition(fieldNumber);
if (relationMappings != null)
{
ClassLoaderResolver clr = ec.getClassLoaderResolver();
AbstractClassMetaData relatedCmd = ec.getMetaDataManager().getMetaDataForClass(mmd.getType(), clr);
ResultObjectFactory relationROF =
((MappedStoreManager)ec.getStoreManager()).newResultObjectFactory(relatedCmd,
relationMappings, false, ec.getFetchPlan(), mmd.getType());
value = relationROF.getObject(ec, resultSet);
}
else
{
value = mapping.getObject(ec, resultSet, mapIdx.getColumnPositions());
}