Liferay 6.2-ce-ga5

com.liferay.portal.kernel.util
Class DatabaseUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.DatabaseUtil

Deprecated. As of 6.1.0, replaced by DBFactoryUtil

public class DatabaseUtil
extends Object


Constructor Summary
DatabaseUtil()
          Deprecated.  
 
Method Summary
static Database getDatabase()
          Deprecated.  
static String getType()
          Deprecated.  
static void runSQLTemplate(String path)
          Deprecated.  
static void runSQLTemplate(String path, boolean failOnError)
          Deprecated.  
 void setDatabase(Database database)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseUtil

public DatabaseUtil()
Deprecated. 
Method Detail

getDatabase

public static Database getDatabase()
Deprecated. 

getType

public static String getType()
Deprecated. 

runSQLTemplate

public static void runSQLTemplate(String path)
                           throws IOException,
                                  NamingException,
                                  SQLException
Deprecated. 
Throws:
IOException
NamingException
SQLException

runSQLTemplate

public static void runSQLTemplate(String path,
                                  boolean failOnError)
                           throws IOException,
                                  NamingException,
                                  SQLException
Deprecated. 
Throws:
IOException
NamingException
SQLException

setDatabase

public void setDatabase(Database database)
Deprecated. 

Liferay 6.2-ce-ga5