org.mule.providers.jdbc
Class JdbcUtils

java.lang.Object
  extended byorg.mule.providers.jdbc.JdbcUtils

public abstract class JdbcUtils
extends Object

Utility methods for working with various parts of JDBC.


Constructor Summary
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

public 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-2008 MuleSource, Inc.. All Rights Reserved.