public interface AvaticaFactory
There is an implementation for each supported JDBC version.
| Modifier and Type | Method and Description |
|---|---|
int |
getJdbcMajorVersion() |
int |
getJdbcMinorVersion() |
AvaticaConnection |
newConnection(UnregisteredDriver driver,
AvaticaFactory factory,
String url,
Properties info) |
AvaticaDatabaseMetaData |
newDatabaseMetaData(AvaticaConnection connection) |
AvaticaPreparedStatement |
newPreparedStatement(AvaticaConnection connection,
AvaticaPrepareResult prepareResult,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
AvaticaResultSet |
newResultSet(AvaticaStatement statement,
AvaticaPrepareResult prepareResult,
TimeZone timeZone)
Creates a result set.
|
ResultSetMetaData |
newResultSetMetaData(AvaticaStatement statement,
List<ColumnMetaData> columnMetaDataList) |
AvaticaStatement |
newStatement(AvaticaConnection connection,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
int getJdbcMajorVersion()
int getJdbcMinorVersion()
AvaticaConnection newConnection(UnregisteredDriver driver, AvaticaFactory factory, String url, Properties info) throws SQLException
SQLExceptionAvaticaStatement newStatement(AvaticaConnection connection, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionAvaticaPreparedStatement newPreparedStatement(AvaticaConnection connection, AvaticaPrepareResult prepareResult, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionAvaticaResultSet newResultSet(AvaticaStatement statement, AvaticaPrepareResult prepareResult, TimeZone timeZone) throws SQLException
AvaticaResultSet.execute() on it.statement - StatementprepareResult - Prepared statementtimeZone - Time zoneSQLExceptionAvaticaDatabaseMetaData newDatabaseMetaData(AvaticaConnection connection)
ResultSetMetaData newResultSetMetaData(AvaticaStatement statement, List<ColumnMetaData> columnMetaDataList) throws SQLException
SQLExceptionCopyright © 2012–2014 The Apache Software Foundation. All rights reserved.