org.mule.transport.jdbc
Class JdbcUtils

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

public abstract class JdbcUtils
extends Object

Utility methods for working with various parts of JDBC.


Constructor Summary
protected JdbcUtils()
           
 
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
 

Constructor Detail

JdbcUtils

protected JdbcUtils()
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-2009 MuleSource, Inc.. All Rights Reserved.