public class JdbcConnectionProxyHelper extends Object
| Constructor and Description |
|---|
JdbcConnectionProxyHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
convertProxyError(Throwable ex,
String msg)
Converts a driver error (generic exception) into an appropriate
SQLException or RuntimeException.
|
static void |
setIsolationLevel(Connection connection,
int defaultIsolationLevel) |
public static void convertProxyError(Throwable ex, String msg) throws SQLException
ex - The driver exception.msg - The message to use in the logs and conversion.SQLExceptionpublic static void setIsolationLevel(Connection connection, int defaultIsolationLevel) throws CreateConnectionException
CreateConnectionExceptionCopyright © 2016. All Rights Reserved.