public class DefaultJDBCStatementInitializer extends Object implements JDBCStatementInitializer
| Modifier and Type | Field and Description |
|---|---|
protected OntopSystemSQLSettings |
settings |
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultJDBCStatementInitializer(OntopSystemSQLSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeStatement(Statement statement) |
protected Statement |
create(Connection connection) |
Statement |
createAndInitStatement(Connection connection) |
protected Statement |
init(Statement statement) |
protected final OntopSystemSQLSettings settings
@Inject protected DefaultJDBCStatementInitializer(OntopSystemSQLSettings settings)
public Statement createAndInitStatement(Connection connection) throws SQLException
createAndInitStatement in interface JDBCStatementInitializerSQLExceptionpublic void closeStatement(Statement statement) throws SQLException
closeStatement in interface JDBCStatementFinalizerSQLExceptionprotected Statement create(Connection connection) throws SQLException
SQLExceptionprotected Statement init(Statement statement) throws SQLException
SQLExceptionCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.