com.liferay.portal.util
Class DatabaseImpl

java.lang.Object
  extended by com.liferay.portal.util.DatabaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.util.Database

public class DatabaseImpl
extends java.lang.Object
implements com.liferay.portal.kernel.util.Database

View Source

Author:
Ganesh Ram

Constructor Summary
DatabaseImpl()
           
 
Method Summary
 java.lang.String getType()
           
 void runSQLTemplate(java.lang.String path)
           
 void runSQLTemplate(java.lang.String path, boolean failOnError)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseImpl

public DatabaseImpl()
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in interface com.liferay.portal.kernel.util.Database

runSQLTemplate

public void runSQLTemplate(java.lang.String path)
                    throws java.io.IOException,
                           javax.naming.NamingException,
                           java.sql.SQLException
Specified by:
runSQLTemplate in interface com.liferay.portal.kernel.util.Database
Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException

runSQLTemplate

public void runSQLTemplate(java.lang.String path,
                           boolean failOnError)
                    throws java.io.IOException,
                           javax.naming.NamingException,
                           java.sql.SQLException
Specified by:
runSQLTemplate in interface com.liferay.portal.kernel.util.Database
Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException