Modifier and Type | Field and Description |
---|---|
private MariaDbConnection |
CallableParameterMetaData.con |
private MariaDbConnection |
MariaDbPooledConnection.connection |
private MariaDbConnection |
MariaXaResource.connection |
private MariaDbConnection |
MariaDbDatabaseMetaData.connection |
protected MariaDbConnection |
MariaDbStatement.connection
the Connection object.
|
Modifier and Type | Method and Description |
---|---|
MariaDbConnection |
MariaDbPooledConnection.getConnection()
Creates and returns a
Connection object that is a handle for the physical
connection that this PooledConnection object represents. |
MariaDbConnection |
MariaDbStatement.getConnection()
Gets the connection that created this statement.
|
static MariaDbConnection |
MariaDbConnection.newConnection(UrlParser urlParser,
GlobalStateInfo globalInfo)
Create new connection Object.
|
Modifier and Type | Method and Description |
---|---|
ClientSidePreparedStatement |
ClientSidePreparedStatement.clone(MariaDbConnection connection)
Clone statement.
|
CallableProcedureStatement |
CallableProcedureStatement.clone(MariaDbConnection connection)
Clone data.
|
ServerSidePreparedStatement |
ServerSidePreparedStatement.clone(MariaDbConnection connection)
Clone statement.
|
BasePrepareStatement |
BasePrepareStatement.clone(MariaDbConnection connection)
Clone cached object.
|
MariaDbProcedureStatement |
MariaDbProcedureStatement.clone(MariaDbConnection connection)
Clone statement.
|
MariaDbFunctionStatement |
MariaDbFunctionStatement.clone(MariaDbConnection connection)
Clone statement.
|
CallableFunctionStatement |
CallableFunctionStatement.clone(MariaDbConnection connection)
Clone data.
|
MariaDbStatement |
MariaDbStatement.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)
Constructor.
|
CallableFunctionStatement(MariaDbConnection connection,
java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
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)
Constructor for getter/setter of callableStatement.
|
ClientSidePreparedStatement(MariaDbConnection connection,
java.lang.String sql,
int resultSetScrollType,
int resultSetConcurrency,
int autoGeneratedKeys)
Constructor.
|
MariaDbFunctionStatement(MariaDbConnection connection,
java.lang.String databaseName,
java.lang.String procedureName,
java.lang.String arguments,
int resultSetType,
int resultSetConcurrency)
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)
Specific implementation of CallableStatement to handle function call, represent by call like
{?= call procedure-name[(arg1,arg2, ...)]}.
|
MariaDbStatement(MariaDbConnection connection,
int resultSetScrollType,
int resultSetConcurrency)
Creates a new Statement.
|
MariaXaConnection(MariaDbConnection connection) |
MariaXaResource(MariaDbConnection connection) |
ServerSidePreparedStatement(MariaDbConnection connection,
java.lang.String sql,
int resultSetScrollType,
int resultSetConcurrency,
int autoGeneratedKeys)
Constructor for creating Server prepared statement.
|
Modifier and Type | Field and Description |
---|---|
private MariaDbConnection |
UpdatableResultSet.connection |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMastersListener.prolog(long maxRows,
MariaDbConnection connection,
MariaDbStatement statement) |
void |
Listener.prolog(long maxRows,
MariaDbConnection connection,
MariaDbStatement statement) |
Modifier and Type | Method and Description |
---|---|
void |
MastersSlavesListener.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 | Method and Description |
---|---|
static void |
ExceptionMapper.checkConnectionException(java.sql.SQLException exception,
MariaDbConnection connection)
Check connection exception to report to poolConnection listeners.
|
static java.sql.SQLException |
ExceptionMapper.getException(java.sql.SQLException exception,
MariaDbConnection connection,
MariaDbStatement statement,
boolean timeout)
Helper to decorate exception with associate subclass of
SQLException exception. |
static void |
ExceptionMapper.throwException(java.sql.SQLException exception,
MariaDbConnection connection,
MariaDbStatement statement)
Helper to throw exception.
|
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) |