use of org.dbflute.logic.jdbc.metadata.comment.DfDbCommentExtractorSQLServer in project dbflute-core by dbflute.
the class DfDbCommentExtractorFactory method createDbCommentExtractor.
// ===================================================================================
// Create
// ======
/**
* @return The extractor of DB comments. (NullAllowed)
*/
public DfDbCommentExtractor createDbCommentExtractor() {
if (_databaseTypeFacadeProp.isDatabaseMySQL()) {
final DfDbCommentExtractorMySQL extractor = new DfDbCommentExtractorMySQL();
extractor.setDataSource(_dataSource);
extractor.setUnifiedSchema(_unifiedSchema);
return extractor;
} else if (_databaseTypeFacadeProp.isDatabaseOracle()) {
final DfDbCommentExtractorOracle extractor = new DfDbCommentExtractorOracle();
extractor.setDataSource(_dataSource);
extractor.setUnifiedSchema(_unifiedSchema);
return extractor;
} else if (_databaseTypeFacadeProp.isDatabaseSQLServer()) {
final DfDbCommentExtractorSQLServer extractor = new DfDbCommentExtractorSQLServer();
extractor.setDataSource(_dataSource);
extractor.setUnifiedSchema(_unifiedSchema);
return extractor;
}
return null;
}
Aggregations