public class MysqlConnectorJDriverHelper
extends java.lang.Object
| Constructor and Description |
|---|
MysqlConnectorJDriverHelper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSQLState(java.lang.Throwable throwable) |
boolean |
isDriverRegistered() |
void |
prepareDataSource(@NonNull javax.sql.DataSource dataSource,
@NonNull HostSpec hostSpec,
@NonNull java.util.Properties props) |
void |
registerDriver() |
public void prepareDataSource(@NonNull javax.sql.DataSource dataSource,
@NonNull HostSpec hostSpec,
@NonNull java.util.Properties props)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isDriverRegistered()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void registerDriver()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getSQLState(java.lang.Throwable throwable)