org.kuali.common.jdbc
Class JdbcUtils

java.lang.Object
  extended by org.kuali.common.jdbc.JdbcUtils

public class JdbcUtils
extends Object


Constructor Summary
JdbcUtils()
           
 
Method Summary
static void closeQuietly(DataSource dataSource, Connection conn)
           
static void closeQuietly(DataSource dataSource, Connection conn, Statement statement)
           
static void closeQuietly(Statement statement)
           
static BufferedReader getBufferedReader(SqlSource source)
           
static List<SqlSource> getSqlSources(List<String> locations, String encoding)
           
static List<SqlSource> getSqlSources(List<String> strings, String encoding, SqlStringType type)
           
static List<SqlSource> getSqlSourcesFromStrings(List<String> sql)
           
 
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

getBufferedReader

public static final BufferedReader getBufferedReader(SqlSource source)
                                              throws IOException
Throws:
IOException

closeQuietly

public static final void closeQuietly(DataSource dataSource,
                                      Connection conn,
                                      Statement statement)

closeQuietly

public static final void closeQuietly(Statement statement)

closeQuietly

public static final void closeQuietly(DataSource dataSource,
                                      Connection conn)

getSqlSources

public static final List<SqlSource> getSqlSources(List<String> locations,
                                                  String encoding)

getSqlSources

public static final List<SqlSource> getSqlSources(List<String> strings,
                                                  String encoding,
                                                  SqlStringType type)

getSqlSourcesFromStrings

public static final List<SqlSource> getSqlSourcesFromStrings(List<String> sql)


Copyright © 2010-2012 The Kuali Foundation. All Rights Reserved.