Search in sources :

Example 1 with TnRelationKeySimple

use of org.dbflute.s2dao.rowcreator.impl.TnRelationKeySimple in project dbflute-core by dbflute.

the class TnRelationRowCache method doCreateRelationKeySimple.

protected TnRelationKey doCreateRelationKeySimple(ResultSet rs, TnRelationPropertyType rpt, Map<String, String> selectColumnMap, Map<String, Map<String, Integer>> selectIndexMap, String relationNoSuffix) throws SQLException {
    final TnPropertyType pt = rpt.getSimpleUniquePropertyType();
    final String columnKeyName = buildColumnKeyName(pt, relationNoSuffix);
    final Object keyValue = setupKeyElement(rs, rpt, selectColumnMap, selectIndexMap, columnKeyName, pt, relationNoSuffix);
    return keyValue != null ? new TnRelationKeySimple(columnKeyName, keyValue) : null;
}
Also used : TnRelationKeySimple(org.dbflute.s2dao.rowcreator.impl.TnRelationKeySimple) TnPropertyType(org.dbflute.s2dao.metadata.TnPropertyType)

Aggregations

TnPropertyType (org.dbflute.s2dao.metadata.TnPropertyType)1 TnRelationKeySimple (org.dbflute.s2dao.rowcreator.impl.TnRelationKeySimple)1