public class MariadbDriverHelper
extends java.lang.Object
| Constructor and Description |
|---|
MariadbDriverHelper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDriverRegistered() |
void |
prepareDataSource(@NonNull javax.sql.DataSource dataSource,
@NonNull java.lang.String protocol,
@NonNull HostSpec hostSpec,
@NonNull java.util.Properties props) |
void |
registerDriver() |
public void prepareDataSource(@NonNull javax.sql.DataSource dataSource,
@NonNull java.lang.String protocol,
@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.SQLException