public abstract class AbstractJDBCDriver extends Object
Modifier and Type | Field and Description |
---|---|
protected JDBCConnectionProvider |
connectionProvider |
protected SQLProvider |
sqlProvider |
Constructor and Description |
---|
AbstractJDBCDriver() |
AbstractJDBCDriver(JDBCConnectionProvider connectionProvider,
SQLProvider provider) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
createSchema() |
protected void |
createTable(String... schemaSqls) |
void |
destroy() |
JDBCConnectionProvider |
getJdbcConnectionProvider() |
protected abstract void |
prepareStatements() |
void |
setJdbcConnectionProvider(JDBCConnectionProvider connectionProvider) |
void |
setSqlProvider(SQLProvider sqlProvider) |
void |
start() |
void |
stop() |
protected SQLProvider sqlProvider
protected JDBCConnectionProvider connectionProvider
public AbstractJDBCDriver()
public AbstractJDBCDriver(JDBCConnectionProvider connectionProvider, SQLProvider provider)
public void start() throws SQLException
SQLException
public void stop() throws SQLException
SQLException
protected abstract void prepareStatements()
protected abstract void createSchema() throws SQLException
SQLException
protected final void createTable(String... schemaSqls) throws SQLException
SQLException
public void setSqlProvider(SQLProvider sqlProvider)
public void setJdbcConnectionProvider(JDBCConnectionProvider connectionProvider)
public JDBCConnectionProvider getJdbcConnectionProvider()
Copyright © 2021 JBoss by Red Hat. All rights reserved.