use of org.dbflute.logic.jdbc.connection.DfCurrentSchemaConnector in project dbflute-core by dbflute.
the class DfAbstractHelperProperties method setupConnectionVariousSetting.
private void setupConnectionVariousSetting(UnifiedSchema unifiedSchema, Connection conn) throws SQLException {
conn.setAutoCommit(true);
if (unifiedSchema.existsPureSchema()) {
final DfDatabaseTypeFacadeProp facadeProp = getBasicProperties().getDatabaseTypeFacadeProp();
final DfCurrentSchemaConnector connector = new DfCurrentSchemaConnector(unifiedSchema, facadeProp);
connector.connectSchema(conn);
}
}
use of org.dbflute.logic.jdbc.connection.DfCurrentSchemaConnector in project dbflute-core by dbflute.
the class DfAbstractDBFluteProperties method setupConnectionVariousSetting.
private void setupConnectionVariousSetting(UnifiedSchema unifiedSchema, Connection conn) throws SQLException {
conn.setAutoCommit(true);
if (unifiedSchema.existsPureSchema()) {
final DfDatabaseTypeFacadeProp facadeProp = getBasicProperties().getDatabaseTypeFacadeProp();
final DfCurrentSchemaConnector connector = new DfCurrentSchemaConnector(unifiedSchema, facadeProp);
connector.connectSchema(conn);
}
}
use of org.dbflute.logic.jdbc.connection.DfCurrentSchemaConnector in project dbflute-core by dbflute.
the class DfTaskControlLogic method connectMainSchema.
protected void connectMainSchema(Connection conn) throws SQLException {
final UnifiedSchema mainSchema = _databaseResource.getMainSchema();
final DfCurrentSchemaConnector connector = new DfCurrentSchemaConnector(mainSchema, getDatabaseTypeFacadeProp());
connector.connectSchema(conn);
}
Aggregations