com.atomikos.jdbc
Class JdbcConnectionProxyHelper
java.lang.Object
com.atomikos.jdbc.JdbcConnectionProxyHelper
public class JdbcConnectionProxyHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcConnectionProxyHelper
public JdbcConnectionProxyHelper()
convertProxyError
public static void convertProxyError(Throwable ex,
String msg)
throws SQLException
- Converts a driver error (generic exception) into an appropriate
SQLException or RuntimeException.
- Parameters:
ex
- The driver exception.msg
- The message to use in the logs and conversion.
- Throws:
SQLException
setIsolationLevel
public static void setIsolationLevel(Connection connection,
int defaultIsolationLevel)
throws CreateConnectionException
- Throws:
CreateConnectionException
Copyright © 2011. All Rights Reserved.