use of org.dbflute.logic.jdbc.metadata.sequence.factory.DfSequenceExtractorFactory 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.factory.DfSequenceExtractorFactory 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;
}
use of org.dbflute.logic.jdbc.metadata.sequence.factory.DfSequenceExtractorFactory in project dbflute-core by dbflute.
the class DfSchemaXmlSerializer method createSequenceExtractorFactory.
protected DfSequenceExtractorFactory createSequenceExtractorFactory(DfSchemaSource dataSource) {
final DfDatabaseTypeFacadeProp facadeProp = getProperties().getBasicProperties().getDatabaseTypeFacadeProp();
final DfDatabaseProperties databaseProp = getDatabaseProperties();
final DfSequenceExtractorFactory factory = new DfSequenceExtractorFactory(dataSource, facadeProp, databaseProp);
if (_suppressAdditionalSchema) {
factory.suppressAdditionalSchema();
}
return factory;
}
Aggregations