protected void initializeMapping() { super.initializeMapping(); FieldMapping[] fields = getDefinedFieldMappings(); for (int i = 0; i < fields.length; i++) fields[i].resolve(MODE_MAPPING_INIT); _discrim.resolve(MODE_MAPPING_INIT); _version.resolve(MODE_MAPPING_INIT); _strategy.initialize(); }
protected void initializeMapping() { super.initializeMapping(); FieldMapping[] fields = getDefinedFieldMappings(); for (int i = 0; i < fields.length; i++) fields[i].resolve(MODE_MAPPING_INIT); _discrim.resolve(MODE_MAPPING_INIT); _version.resolve(MODE_MAPPING_INIT); _strategy.initialize(); }
protected void initializeMapping() { super.initializeMapping(); FieldMapping[] fields = getDefinedFieldMappings(); for (int i = 0; i < fields.length; i++) fields[i].resolve(MODE_MAPPING_INIT); _discrim.resolve(MODE_MAPPING_INIT); _version.resolve(MODE_MAPPING_INIT); _strategy.initialize(); }
protected void initializeMapping() { super.initializeMapping(); FieldMapping[] fields = getDefinedFieldMappings(); for (int i = 0; i < fields.length; i++) fields[i].resolve(MODE_MAPPING_INIT); _discrim.resolve(MODE_MAPPING_INIT); _version.resolve(MODE_MAPPING_INIT); _strategy.initialize(); }
protected void initializeMapping() { super.initializeMapping(); FieldMapping[] fields = getDefinedFieldMappings(); for (int i = 0; i < fields.length; i++) fields[i].resolve(MODE_MAPPING_INIT); _discrim.resolve(MODE_MAPPING_INIT); _version.resolve(MODE_MAPPING_INIT); _strategy.initialize(); }
/** * Resolve non-relation field mappings so that when we do relation * mappings they can rely on them for joins. */ void resolveNonRelationMappings() { // make sure primary key fields are resolved first because other // fields might rely on them FieldMapping[] fms = getPrimaryKeyFieldMappings(); for (int i = 0; i < fms.length; i++) fms[i].resolve(MODE_MAPPING); // resolve defined fields that are safe; that don't rely on other types // also being resolved. don't use getDefinedFields b/c it relies on // whether fields are mapped, which isn't known yet fms = getFieldMappings(); for (int i = 0; i < fms.length; i++) if (fms[i].getDefiningMetaData() == this && !fms[i].isTypePC() && !fms[i].getKey().isTypePC() && !fms[i].getElement().isTypePC()) fms[i].resolve(MODE_MAPPING); _discrim.resolve(MODE_MAPPING); _version.resolve(MODE_MAPPING); }
/** * Resolve non-relation field mappings so that when we do relation * mappings they can rely on them for joins. */ void resolveNonRelationMappings() { // make sure primary key fields are resolved first because other // fields might rely on them FieldMapping[] fms = getPrimaryKeyFieldMappings(); for (int i = 0; i < fms.length; i++) fms[i].resolve(MODE_MAPPING); // resolve defined fields that are safe; that don't rely on other types // also being resolved. don't use getDefinedFields b/c it relies on // whether fields are mapped, which isn't known yet fms = getFieldMappings(); for (int i = 0; i < fms.length; i++) if (fms[i].getDefiningMetaData() == this && !fms[i].isTypePC() && !fms[i].getKey().isTypePC() && !fms[i].getElement().isTypePC()) fms[i].resolve(MODE_MAPPING); _discrim.resolve(MODE_MAPPING); _version.resolve(MODE_MAPPING); }
/** * Resolve non-relation field mappings so that when we do relation * mappings they can rely on them for joins. */ void resolveNonRelationMappings() { // make sure primary key fields are resolved first because other // fields might rely on them FieldMapping[] fms = getPrimaryKeyFieldMappings(); for (int i = 0; i < fms.length; i++) fms[i].resolve(MODE_MAPPING); // resolve defined fields that are safe; that don't rely on other types // also being resolved. don't use getDefinedFields b/c it relies on // whether fields are mapped, which isn't known yet fms = getFieldMappings(); for (int i = 0; i < fms.length; i++) if (fms[i].getDefiningMetaData() == this && !fms[i].isTypePC() && !fms[i].getKey().isTypePC() && !fms[i].getElement().isTypePC()) fms[i].resolve(MODE_MAPPING); _discrim.resolve(MODE_MAPPING); _version.resolve(MODE_MAPPING); }
/** * Resolve non-relation field mappings so that when we do relation * mappings they can rely on them for joins. */ void resolveNonRelationMappings() { // make sure primary key fields are resolved first because other // fields might rely on them FieldMapping[] fms = getPrimaryKeyFieldMappings(); for (int i = 0; i < fms.length; i++) fms[i].resolve(MODE_MAPPING); // resolve defined fields that are safe; that don't rely on other types // also being resolved. don't use getDefinedFields b/c it relies on // whether fields are mapped, which isn't known yet fms = getFieldMappings(); for (int i = 0; i < fms.length; i++) if (fms[i].getDefiningMetaData() == this && !fms[i].isTypePC() && !fms[i].getKey().isTypePC() && !fms[i].getElement().isTypePC()) fms[i].resolve(MODE_MAPPING); _discrim.resolve(MODE_MAPPING); _version.resolve(MODE_MAPPING); }
/** * Resolve non-relation field mappings so that when we do relation * mappings they can rely on them for joins. */ void resolveNonRelationMappings() { // make sure primary key fields are resolved first because other // fields might rely on them FieldMapping[] fms = getPrimaryKeyFieldMappings(); for (int i = 0; i < fms.length; i++) fms[i].resolve(MODE_MAPPING); // resolve defined fields that are safe; that don't rely on other types // also being resolved. don't use getDefinedFields b/c it relies on // whether fields are mapped, which isn't known yet fms = getFieldMappings(); for (int i = 0; i < fms.length; i++) if (fms[i].getDefiningMetaData() == this && !fms[i].isTypePC() && !fms[i].getKey().isTypePC() && !fms[i].getElement().isTypePC()) fms[i].resolve(MODE_MAPPING); _discrim.resolve(MODE_MAPPING); _version.resolve(MODE_MAPPING); }