Package org.mariadb.jdbc.export
Class ExceptionFactory.SqlExceptionFactory
java.lang.Object
org.mariadb.jdbc.export.ExceptionFactory
org.mariadb.jdbc.export.ExceptionFactory.SqlExceptionFactory
- Enclosing class:
ExceptionFactory
Exception with SQL command
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mariadb.jdbc.export.ExceptionFactory
ExceptionFactory.SqlExceptionFactory -
Constructor Summary
ConstructorsConstructorDescriptionSqlExceptionFactory(Connection connection, MariaDbPoolConnection poolConnection, Configuration conf, HostAddress hostAddress, long threadId, Statement statement, String sql) Constructor of Exception factory with SQL -
Method Summary
Methods inherited from class org.mariadb.jdbc.export.ExceptionFactory
create, create, create, create, createBatchUpdate, createBatchUpdate, notSupported, of, setConnection, setConnection, setPoolConnection, setThreadId, withSql
-
Constructor Details
-
SqlExceptionFactory
public SqlExceptionFactory(Connection connection, MariaDbPoolConnection poolConnection, Configuration conf, HostAddress hostAddress, long threadId, Statement statement, String sql) Constructor of Exception factory with SQL- Parameters:
connection- connectionpoolConnection- pool connectionconf- configurationhostAddress- hostthreadId- connection thread idstatement- statementsql- sql
-
-
Method Details
-
getSql
Description copied from class:ExceptionFactoryget SQL command- Overrides:
getSqlin classExceptionFactory- Returns:
- sql command
-