Liferay 6.0.5

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)
           
 
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

getConnection

public static Connection getConnection()
                                throws SQLException
Throws:
SQLException

getConnection

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

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)

Liferay 6.0.5