org.kuali.common.jdbc
Class JdbcUtils
java.lang.Object
org.kuali.common.jdbc.JdbcUtils
public class JdbcUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcUtils
public JdbcUtils()
getSqlSize
public static long getSqlSize(List<SqlSupplier> suppliers)
- Return the total size of the SQL statements contained in
suppliers
. Assumes suppliers
has had its SqlMetaData
filled in.
getSqlCount
public static long getSqlCount(List<SqlSupplier> suppliers)
- Return a count of the total number of SQL statements contained in
suppliers
. Assumes suppliers
has had its SqlMetaData
filled in.
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)
getSqlMetaData
public static SqlMetaData getSqlMetaData(BufferedReader in,
SqlReader reader)
throws IOException
- Throws:
IOException
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.