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
public abstract class BaseDBProcess
- extends java.lang.Object
- implements DBProcess
- Author:
- Hugo Huijser, Brian Wing Shun Chan
|
Method Summary |
void |
runSQL(java.lang.String template)
|
void |
runSQL(java.lang.String[] templates)
|
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 |
BaseDBProcess
public BaseDBProcess()
runSQL
public void runSQL(java.lang.String template)
throws java.io.IOException,
java.sql.SQLException
- Specified by:
runSQL in interface DBProcess
- Throws:
java.io.IOException
java.sql.SQLException
runSQL
public void runSQL(java.lang.String[] templates)
throws java.io.IOException,
java.sql.SQLException
- Specified by:
runSQL in interface DBProcess
- Throws:
java.io.IOException
java.sql.SQLException
runSQLTemplate
public void runSQLTemplate(java.lang.String path)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
- Specified by:
runSQLTemplate in interface DBProcess
- 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 DBProcess
- Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException