Search in sources :

Example 1 with DfStructExtractorOracle

use of org.dbflute.logic.jdbc.metadata.various.struct.DfStructExtractorOracle in project dbflute-core by dbflute.

the class DfProcedureSupplementExtractorOracle method findParameterStructInfoMap.

protected StringKeyMap<DfTypeStructInfo> findParameterStructInfoMap(UnifiedSchema unifiedSchema) {
    StringKeyMap<DfTypeStructInfo> structInfoMap = _structInfoMapMap.get(unifiedSchema);
    if (structInfoMap != null) {
        return structInfoMap;
    }
    // initialize per schema
    final DfStructExtractorOracle extractor = new DfStructExtractorOracle(_dataSource, _suppressLogging);
    structInfoMap = extractor.extractStructInfoMap(unifiedSchema);
    // set up struct attribute's additional info
    resolveStructAttributeInfo(unifiedSchema, structInfoMap);
    log("Struct Info: " + unifiedSchema);
    for (DfTypeStructInfo structInfo : structInfoMap.values()) {
        log("  " + structInfo.toString());
    }
    _structInfoMapMap.put(unifiedSchema, structInfoMap);
    return _structInfoMapMap.get(unifiedSchema);
}
Also used : DfStructExtractorOracle(org.dbflute.logic.jdbc.metadata.various.struct.DfStructExtractorOracle) DfTypeStructInfo(org.dbflute.logic.jdbc.metadata.info.DfTypeStructInfo)

Aggregations

DfTypeStructInfo (org.dbflute.logic.jdbc.metadata.info.DfTypeStructInfo)1 DfStructExtractorOracle (org.dbflute.logic.jdbc.metadata.various.struct.DfStructExtractorOracle)1