Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.dao.jdbc
Class DataAccess

java.lang.Object
  extended by com.liferay.portal.kernel.dao.jdbc.DataAccess

public class DataAccess
extends Object


Constructor Summary
DataAccess()
           
 
Method Summary
static void cleanUp(Connection connection)
           
static void cleanUp(Connection connection, Statement statement)
           
static void cleanUp(Connection connection, Statement statement, ResultSet resultSet)
           
static void cleanUp(ResultSet resultSet)
           
static void cleanUp(Statement statement)
           
static Connection getConnection()
           
static Connection getConnection(String location)
           
static Connection getUpgradeOptimizedConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataAccess

public DataAccess()
Method Detail

cleanUp

public static void cleanUp(Connection connection)

cleanUp

public static void cleanUp(Connection connection,
                           Statement statement)

cleanUp

public static void cleanUp(Connection connection,
                           Statement statement,
                           ResultSet resultSet)

cleanUp

public static void cleanUp(ResultSet resultSet)

cleanUp

public static void cleanUp(Statement statement)

getConnection

public static Connection getConnection()
                                throws SQLException
Throws:
SQLException

getConnection

public static Connection getConnection(String location)
                                throws NamingException,
                                       SQLException
Throws:
NamingException
SQLException

getUpgradeOptimizedConnection

public static Connection getUpgradeOptimizedConnection()
                                                throws SQLException
Throws:
SQLException

Liferay 6.1.2-ce-ga3