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