org.mule.transport.jdbc
Class JdbcUtils

java.lang.Object
  extended by org.mule.transport.jdbc.JdbcUtils

public final class JdbcUtils
extends Object

Utility methods for working with various parts of JDBC.


Method Summary
static void close(Connection con)
           
static void commitAndClose(Connection con)
           
static void rollbackAndClose(Connection con)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public static void close(Connection con)
                  throws SQLException
Throws:
SQLException

commitAndClose

public static void commitAndClose(Connection con)
                           throws SQLException
Throws:
SQLException

rollbackAndClose

public static void rollbackAndClose(Connection con)
                             throws SQLException
Throws:
SQLException


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.