use of org.dbflute.logic.jdbc.metadata.sequence.DfSequenceExtractor in project dbflute-core by dbflute.
the class DfSchemaXmlSerializer method extractSequenceMap.
protected Map<String, DfSequenceMeta> extractSequenceMap() {
final DfSequenceExtractorFactory factory = createSequenceExtractorFactory(_dataSource);
final DfSequenceExtractor sequenceExtractor = factory.createSequenceExtractor();
Map<String, DfSequenceMeta> sequenceMap = null;
if (sequenceExtractor != null) {
sequenceMap = sequenceExtractor.extractSequenceMap();
}
return sequenceMap;
}
use of org.dbflute.logic.jdbc.metadata.sequence.DfSequenceExtractor in project dbflute-core by dbflute.
the class DfSequenceIdentityProperties method getSequenceMap.
public Map<String, DfSequenceMeta> getSequenceMap(DfSchemaSource dataSource) {
if (_sequenceMap != null) {
return _sequenceMap;
}
final DfSequenceExtractorFactory factory = createSequenceExtractorFactory(dataSource);
final DfSequenceExtractor sequenceExtractor = factory.createSequenceExtractor();
Map<String, DfSequenceMeta> sequenceMap = null;
if (sequenceExtractor != null) {
sequenceMap = sequenceExtractor.extractSequenceMap();
}
if (sequenceMap != null) {
_sequenceMap = sequenceMap;
} else {
_sequenceMap = DfCollectionUtil.emptyMap();
}
return _sequenceMap;
}
Aggregations