com.liferay.portal.kernel.dao.db
Class BaseDBProcess
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
- All Implemented Interfaces:
- DBProcess
- Direct Known Subclasses:
- UpgradeProcess, VerifyProcess
public abstract class BaseDBProcess
- extends Object
- implements DBProcess
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseDBProcess
public BaseDBProcess()
runSQL
public void runSQL(String template)
throws IOException,
SQLException
- Specified by:
runSQL
in interface DBProcess
- Throws:
IOException
SQLException
runSQL
public void runSQL(String[] templates)
throws IOException,
SQLException
- Specified by:
runSQL
in interface DBProcess
- Throws:
IOException
SQLException
runSQLTemplate
public void runSQLTemplate(String path)
throws IOException,
NamingException,
SQLException
- Specified by:
runSQLTemplate
in interface DBProcess
- Throws:
IOException
NamingException
SQLException
runSQLTemplate
public void runSQLTemplate(String path,
boolean failOnError)
throws IOException,
NamingException,
SQLException
- Specified by:
runSQLTemplate
in interface DBProcess
- Throws:
IOException
NamingException
SQLException