com.liferay.portal.kernel.util
Class DatabaseUtil
java.lang.Object
com.liferay.portal.kernel.util.DatabaseUtil
Deprecated. DBFactoryUtil
public class DatabaseUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseUtil
public DatabaseUtil()
- Deprecated.
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.