public interface AvaticaFactory
There is an implementation for each supported JDBC version.
int getJdbcMajorVersion()
int getJdbcMinorVersion()
AvaticaConnection newConnection(UnregisteredDriver driver, AvaticaFactory factory, String url, Properties info) throws SQLException
SQLExceptionAvaticaStatement newStatement(AvaticaConnection connection, Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionAvaticaPreparedStatement newPreparedStatement(AvaticaConnection connection, Meta.StatementHandle h, Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionAvaticaResultSet newResultSet(AvaticaStatement statement, QueryState state, Meta.Signature signature, TimeZone timeZone, Meta.Frame firstFrame) throws SQLException
AvaticaResultSet.execute() on it.statement - Statementstate - The state used to create this result setsignature - Prepared statementtimeZone - Time zonefirstFrame - Frame containing the first (or perhaps only) rows in the
result, or null if an execute/fetch is requiredSQLExceptionAvaticaSpecificDatabaseMetaData newDatabaseMetaData(AvaticaConnection connection)
ResultSetMetaData newResultSetMetaData(AvaticaStatement statement, Meta.Signature signature) throws SQLException
statement - Statementsignature - Prepared statementSQLExceptionCopyright © 2012-2025 Apache Software Foundation. All Rights Reserved.