com.scooterframework.orm.sqldataexpress.util
Class DAOUtil

java.lang.Object
  extended by com.scooterframework.orm.sqldataexpress.util.DAOUtil

public class DAOUtil
extends java.lang.Object

DAOUtil contains helper methods for database access.


Constructor Summary
DAOUtil()
           
 
Method Summary
static void closeConnection(java.sql.Connection connection)
           
static void closeConnection(UserDatabaseConnection udc)
           
static void closeResultSet(java.sql.ResultSet rs)
           
static void closeStatement(java.sql.Statement stmt)
           
static void commit(java.sql.Connection conn)
           
static void rollback(java.sql.Connection conn)
           
static boolean updateFailed(int[] updateCounts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOUtil

public DAOUtil()
Method Detail

closeConnection

public static void closeConnection(UserDatabaseConnection udc)

closeConnection

public static void closeConnection(java.sql.Connection connection)

closeResultSet

public static void closeResultSet(java.sql.ResultSet rs)

closeStatement

public static void closeStatement(java.sql.Statement stmt)

commit

public static void commit(java.sql.Connection conn)

rollback

public static void rollback(java.sql.Connection conn)

updateFailed

public static boolean updateFailed(int[] updateCounts)