Modifier and Type | Field and Description |
---|---|
private MariaDbConnection |
CallableParameterMetaData.con |
protected MariaDbConnection |
MariaDbStatement.connection
the Connection object.
|
private MariaDbConnection |
MariaDbDatabaseMetaData.connection |
private MariaDbConnection |
MariaDbPooledConnection.connection |
private MariaDbConnection |
MariaXaResource.connection |
Modifier and Type | Method and Description |
---|---|
MariaDbConnection |
MariaDbStatement.getConnection()
Gets the connection that created this statement.
|
MariaDbConnection |
MariaDbPooledConnection.getConnection()
Creates and returns a
Connection object that is a handle for the physical
connection that this PooledConnection object represents. |
static MariaDbConnection |
MariaDbConnection.newConnection(UrlParser urlParser,
GlobalStateInfo globalInfo)
Create new connection Object.
|
Modifier and Type | Method and Description |
---|---|
MariaDbStatement |
MariaDbStatement.clone(MariaDbConnection connection)
Clone statement.
|
CallableProcedureStatement |
CallableProcedureStatement.clone(MariaDbConnection connection)
Clone data.
|
BasePrepareStatement |
BasePrepareStatement.clone(MariaDbConnection connection)
Clone cached object.
|
MariaDbFunctionStatement |
MariaDbFunctionStatement.clone(MariaDbConnection connection)
Clone statement.
|
CallableFunctionStatement |
CallableFunctionStatement.clone(MariaDbConnection connection)
Clone data.
|
MariaDbProcedureStatement |
MariaDbProcedureStatement.clone(MariaDbConnection connection)
Clone statement.
|
ClientSidePreparedStatement |
ClientSidePreparedStatement.clone(MariaDbConnection connection)
Clone statement.
|
ServerSidePreparedStatement |
ServerSidePreparedStatement.clone(MariaDbConnection connection)
Clone statement.
|
private static java.sql.ResultSet |
MariaDbDatabaseMetaData.getImportedKeys(java.lang.String tableDef,
java.lang.String tableName,
java.lang.String catalog,
MariaDbConnection connection)
Get imported keys.
|
Constructor and Description |
---|
BasePrepareStatement(MariaDbConnection connection,
int resultSetScrollType,
int resultSetConcurrency,
int autoGeneratedKeys,
ExceptionFactory exceptionFactory)
Constructor.
|
CallableFunctionStatement(MariaDbConnection connection,
java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
ExceptionFactory exceptionFactory)
Constructor for getter/setter of callableStatement.
|
CallableParameterMetaData(MariaDbConnection con,
java.lang.String database,
java.lang.String name,
boolean isFunction)
Retrieve Callable metaData.
|
CallableProcedureStatement(MariaDbConnection connection,
java.lang.String sql,
int resultSetScrollType,
int resultSetConcurrency,
ExceptionFactory exceptionFactory)
Constructor for getter/setter of callableStatement.
|
ClientSidePreparedStatement(MariaDbConnection connection,
java.lang.String sql,
int resultSetScrollType,
int resultSetConcurrency,
int autoGeneratedKeys,
ExceptionFactory exceptionFactory)
Constructor.
|
MariaDbFunctionStatement(MariaDbConnection connection,
java.lang.String databaseName,
java.lang.String procedureName,
java.lang.String arguments,
int resultSetType,
int resultSetConcurrency,
ExceptionFactory exceptionFactory)
Specific implementation of CallableStatement to handle function call, represent by call like
{?= call procedure-name[(arg1,arg2, ...)]}.
|
MariaDbPooledConnection(MariaDbConnection connection)
Constructor.
|
MariaDbProcedureStatement(java.lang.String query,
MariaDbConnection connection,
java.lang.String procedureName,
java.lang.String database,
int resultSetType,
int resultSetConcurrency,
ExceptionFactory exceptionFactory)
Specific implementation of CallableStatement to handle function call, represent by call like
{?= call procedure-name[(arg1,arg2, ...)]}.
|
MariaDbStatement(MariaDbConnection connection,
int resultSetScrollType,
int resultSetConcurrency,
ExceptionFactory exceptionFactory)
Creates a new Statement.
|
MariaXaConnection(MariaDbConnection connection) |
MariaXaResource(MariaDbConnection connection) |
ServerSidePreparedStatement(MariaDbConnection connection,
java.lang.String sql,
int resultSetScrollType,
int resultSetConcurrency,
int autoGeneratedKeys,
ExceptionFactory exceptionFactory)
Constructor for creating Server prepared statement.
|
Modifier and Type | Field and Description |
---|---|
private MariaDbConnection |
UpdatableResultSet.connection |
Modifier and Type | Method and Description |
---|---|
void |
Listener.prolog(long maxRows,
MariaDbConnection connection,
MariaDbStatement statement) |
void |
AbstractMastersListener.prolog(long maxRows,
MariaDbConnection connection,
MariaDbStatement statement) |
Modifier and Type | Method and Description |
---|---|
void |
MastersReplicasListener.prolog(long maxRows,
MariaDbConnection connection,
MariaDbStatement statement) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractQueryProtocol.prolog(long maxRows,
boolean hasProxy,
MariaDbConnection connection,
MariaDbStatement statement)
Preparation before command.
|
void |
Protocol.prolog(long maxRows,
boolean hasProxy,
MariaDbConnection connection,
MariaDbStatement statement) |
void |
AbstractQueryProtocol.prologProxy(ServerPrepareResult serverPrepareResult,
long maxRows,
boolean hasProxy,
MariaDbConnection connection,
MariaDbStatement statement) |
void |
Protocol.prologProxy(ServerPrepareResult serverPrepareResult,
long maxRows,
boolean hasProxy,
MariaDbConnection connection,
MariaDbStatement statement) |
Modifier and Type | Method and Description |
---|---|
CloneableCallableStatement |
CloneableCallableStatement.clone(MariaDbConnection connection) |
Modifier and Type | Field and Description |
---|---|
private MariaDbConnection |
ExceptionFactory.connection |
Modifier and Type | Method and Description |
---|---|
private static java.sql.SQLException |
ExceptionFactory.createException(java.lang.String initialMessage,
java.lang.String sqlState,
int errorCode,
long threadId,
Options options,
MariaDbConnection connection,
java.sql.Statement statement,
java.lang.Exception cause) |
ExceptionFactory |
ExceptionFactory.raiseStatementError(MariaDbConnection connection,
java.sql.Statement stmt) |
Constructor and Description |
---|
ExceptionFactory(long threadId,
Options options,
MariaDbConnection connection,
java.sql.Statement statement) |
Modifier and Type | Method and Description |
---|---|
MariaDbConnection |
Pool.getConnection()
Retrieve new connection.
|
MariaDbConnection |
Pool.getConnection(java.lang.String username,
java.lang.String password)
Get new connection from pool if user and password correspond to pool.
|
Modifier and Type | Method and Description |
---|---|
private MariaDbPooledConnection |
Pool.createPoolConnection(MariaDbConnection connection) |
private void |
Pool.initializePoolGlobalState(MariaDbConnection connection) |