Uses of Class
org.mariadb.jdbc.MariaDbConnection
-
-
Uses of MariaDbConnection in org.mariadb.jdbc
Fields in org.mariadb.jdbc declared as MariaDbConnection Modifier and Type Field Description protected MariaDbConnectionMariaDbStatement. connectionthe Connection object.Methods in org.mariadb.jdbc that return MariaDbConnection Modifier and Type Method Description MariaDbConnectionMariaDbPooledConnection. getConnection()Creates and returns aConnectionobject that is a handle for the physical connection that thisPooledConnectionobject represents.MariaDbConnectionMariaDbStatement. getConnection()Gets the connection that created this statement.static MariaDbConnectionMariaDbConnection. newConnection(UrlParser urlParser, GlobalStateInfo globalInfo)Create new connection Object.Methods in org.mariadb.jdbc with parameters of type MariaDbConnection Modifier and Type Method Description BasePrepareStatementBasePrepareStatement. clone(MariaDbConnection connection)Clone cached object.CallableFunctionStatementCallableFunctionStatement. clone(MariaDbConnection connection)Clone data.CallableProcedureStatementCallableProcedureStatement. clone(MariaDbConnection connection)Clone data.ClientSidePreparedStatementClientSidePreparedStatement. clone(MariaDbConnection connection)Clone statement.MariaDbFunctionStatementMariaDbFunctionStatement. clone(MariaDbConnection connection)Clone statement.MariaDbProcedureStatementMariaDbProcedureStatement. clone(MariaDbConnection connection)Clone statement.MariaDbStatementMariaDbStatement. clone(MariaDbConnection connection)Clone statement.ServerSidePreparedStatementServerSidePreparedStatement. clone(MariaDbConnection connection)Clone statement.Constructors in org.mariadb.jdbc with parameters of type MariaDbConnection Constructor Description BasePrepareStatement(MariaDbConnection connection, int resultSetScrollType, int resultSetConcurrency, int autoGeneratedKeys)Constructor.CallableFunctionStatement(MariaDbConnection connection, String sql, int resultSetType, int resultSetConcurrency)Constructor for getter/setter of callableStatement.CallableParameterMetaData(MariaDbConnection con, String database, String name, boolean isFunction)Retrieve Callable metaData.CallableProcedureStatement(MariaDbConnection connection, String sql, int resultSetScrollType, int resultSetConcurrency)Constructor for getter/setter of callableStatement.ClientSidePreparedStatement(MariaDbConnection connection, String sql, int resultSetScrollType, int resultSetConcurrency, int autoGeneratedKeys)Constructor.MariaDbFunctionStatement(MariaDbConnection connection, String databaseName, String procedureName, String arguments, int resultSetType, int resultSetConcurrency)Specific implementation of CallableStatement to handle function call, represent by call like {?MariaDbPooledConnection(MariaDbConnection connection)Constructor.MariaDbProcedureStatement(String query, MariaDbConnection connection, String procedureName, String database, int resultSetType, int resultSetConcurrency)Specific implementation of CallableStatement to handle function call, represent by call like {?MariaDbStatement(MariaDbConnection connection, int resultSetScrollType, int resultSetConcurrency)Creates a new Statement.MariaXaConnection(MariaDbConnection connection)MariaXaResource(MariaDbConnection connection)ServerSidePreparedStatement(MariaDbConnection connection, String sql, int resultSetScrollType, int resultSetConcurrency, int autoGeneratedKeys)Constructor for creating Server prepared statement. -
Uses of MariaDbConnection in org.mariadb.jdbc.internal.failover
Methods in org.mariadb.jdbc.internal.failover with parameters of type MariaDbConnection Modifier and Type Method Description voidAbstractMastersListener. prolog(long maxRows, MariaDbConnection connection, MariaDbStatement statement)voidListener. prolog(long maxRows, MariaDbConnection connection, MariaDbStatement statement) -
Uses of MariaDbConnection in org.mariadb.jdbc.internal.failover.impl
Methods in org.mariadb.jdbc.internal.failover.impl with parameters of type MariaDbConnection Modifier and Type Method Description voidMastersSlavesListener. prolog(long maxRows, MariaDbConnection connection, MariaDbStatement statement) -
Uses of MariaDbConnection in org.mariadb.jdbc.internal.protocol
Methods in org.mariadb.jdbc.internal.protocol with parameters of type MariaDbConnection Modifier and Type Method Description voidAbstractQueryProtocol. prolog(long maxRows, boolean hasProxy, MariaDbConnection connection, MariaDbStatement statement)Preparation before command.voidProtocol. prolog(long maxRows, boolean hasProxy, MariaDbConnection connection, MariaDbStatement statement)voidAbstractQueryProtocol. prologProxy(ServerPrepareResult serverPrepareResult, long maxRows, boolean hasProxy, MariaDbConnection connection, MariaDbStatement statement)voidProtocol. prologProxy(ServerPrepareResult serverPrepareResult, long maxRows, boolean hasProxy, MariaDbConnection connection, MariaDbStatement statement) -
Uses of MariaDbConnection in org.mariadb.jdbc.internal.util.dao
Methods in org.mariadb.jdbc.internal.util.dao with parameters of type MariaDbConnection Modifier and Type Method Description CloneableCallableStatementCloneableCallableStatement. clone(MariaDbConnection connection) -
Uses of MariaDbConnection in org.mariadb.jdbc.internal.util.exceptions
Methods in org.mariadb.jdbc.internal.util.exceptions with parameters of type MariaDbConnection Modifier and Type Method Description static voidExceptionMapper. checkConnectionException(SQLException exception, MariaDbConnection connection)Check connection exception to report to poolConnection listeners.static SQLExceptionExceptionMapper. getException(SQLException exception, MariaDbConnection connection, MariaDbStatement statement, boolean timeout)Helper to decorate exception with associate subclass ofSQLExceptionexception.static voidExceptionMapper. throwException(SQLException exception, MariaDbConnection connection, MariaDbStatement statement)Helper to throw exception. -
Uses of MariaDbConnection in org.mariadb.jdbc.internal.util.pool
Methods in org.mariadb.jdbc.internal.util.pool that return MariaDbConnection Modifier and Type Method Description MariaDbConnectionPool. getConnection()Retrieve new connection.MariaDbConnectionPool. getConnection(String username, String password)Get new connection from pool if user and password correspond to pool.
-