Package | Description |
---|---|
org.mariadb.jdbc | |
org.mariadb.jdbc.internal.protocol | |
org.mariadb.jdbc.internal.util.dao | |
org.mariadb.jdbc.internal.util.exceptions |
Modifier and Type | Field and Description |
---|---|
private MariaDbConnection |
CallableParameterMetaData.con |
private MariaDbConnection |
MariaDbDatabaseMetaData.connection |
protected MariaDbConnection |
MariaDbStatement.connection
the Connection object.
|
(package private) MariaDbConnection |
MariaXaResource.connection |
(package private) MariaDbConnection |
MariaDbPooledConnection.connection |
Modifier and Type | Method and Description |
---|---|
MariaDbConnection |
MariaDbStatement.getConnection()
Gets the connection that created this statement.
|
static MariaDbConnection |
MariaDbConnection.newConnection(java.lang.String initialUrl,
Protocol protocol,
java.util.concurrent.locks.ReentrantLock lock) |
Modifier and Type | Method and Description |
---|---|
BasePrepareStatement |
BasePrepareStatement.clone(MariaDbConnection connection)
Clone cached object.
|
CallableFunctionStatement |
CallableFunctionStatement.clone(MariaDbConnection connection)
Clone data.
|
MariaDbStatement |
MariaDbStatement.clone(MariaDbConnection connection)
Clone statement.
|
MariaDbProcedureStatement |
MariaDbProcedureStatement.clone(MariaDbConnection connection)
Clone statement.
|
MariaDbFunctionStatement |
MariaDbFunctionStatement.clone(MariaDbConnection connection)
Clone statement.
|
MariaDbPreparedStatementClient |
MariaDbPreparedStatementClient.clone(MariaDbConnection connection)
Clone statement.
|
CallableProcedureStatement |
CallableProcedureStatement.clone(MariaDbConnection connection)
Clone data.
|
MariaDbPreparedStatementServer |
MariaDbPreparedStatementServer.clone(MariaDbConnection connection)
Clone statement.
|
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) |
CallableFunctionStatement(MariaDbConnection connection,
java.lang.String sql,
int resultSetScrollType)
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)
Constructor for getter/setter of callableStatement.
|
MariaDbFunctionStatement(MariaDbConnection connection,
java.lang.String databaseName,
java.lang.String procedureName,
java.lang.String arguments)
Specific implementation of CallableStatement to handle function call, represent by call like
{?= call procedure-name[(arg1,arg2, ...)]}.
|
MariaDbPooledConnection(MariaDbConnection connection)
Constructor.
|
MariaDbPreparedStatementClient(MariaDbConnection connection,
java.lang.String sql,
int resultSetScrollType)
Constructor.
|
MariaDbPreparedStatementServer(MariaDbConnection connection,
java.lang.String sql,
int resultSetScrollType,
boolean forcePrepare)
Constructor for creating Server prepared statement.
|
MariaDbProcedureStatement(java.lang.String query,
MariaDbConnection connection,
java.lang.String procedureName,
java.lang.String database)
Specific implementation of CallableStatement to handle function call, represent by call like
{?= call procedure-name[(arg1,arg2, ...)]}.
|
MariaDbStatement(MariaDbConnection connection,
int resultSetScrollType)
Creates a new Statement.
|
MariaXaConnection(MariaDbConnection connection) |
MariaXaResource(MariaDbConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
Protocol.prolog(long maxRows,
boolean hasProxy,
MariaDbConnection connection,
MariaDbStatement statement) |
void |
AbstractQueryProtocol.prolog(long maxRows,
boolean hasProxy,
MariaDbConnection connection,
MariaDbStatement statement)
Preparation before command.
|
void |
Protocol.prologProxy(ServerPrepareResult serverPrepareResult,
long maxRows,
boolean hasProxy,
MariaDbConnection connection,
MariaDbStatement statement) |
void |
AbstractQueryProtocol.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 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.throwAndLogException(java.sql.SQLException exception,
MariaDbConnection connection,
MariaDbStatement statement,
Logger logger,
boolean timeout)
Helper to throw exception.
|
static void |
ExceptionMapper.throwException(java.sql.SQLException exception,
MariaDbConnection connection,
MariaDbStatement statement)
Helper to throw exception.
|