Package com.liferay.portal.kernel.dao.db
Interface DBProcess
- All Known Implementing Classes:
BaseAdminPortletsUpgradeProcess,BaseBadColumnNamesUpgradeProcess,BaseCompanyIdUpgradeProcess,BaseDBColumnSizeUpgradeProcess,BaseDBProcess,BaseExternalReferenceCodeUpgradeProcess,BaseLastPublishDateUpgradeProcess,BaseLocalizedColumnUpgradeProcess,BasePortletIdUpgradeProcess,BasePortletPreferencesUpgradeProcess,BaseReplacePortletId,BaseRepositoryUpgradeProcess,BaseSQLServerDatetimeUpgradeProcess,BaseStagingGroupTypeSettingsUpgradeProcess,BaseStaleUserIdUpgradeProcess,BaseThemeIdUpgradeProcess,BaseUuidUpgradeProcess,BaseViewActionResourcePermissionUpgradeProcess,CamelCaseUpgradePortletPreferences,CTModelUpgradeProcess,DummyUpgradeProcess,GuestUnsupportedResourcePermissionsUpgradeProcess,MVCCVersionUpgradeProcess,PortalPreferencesUpgradeProcess,UpgradeModules,UpgradeMVCCVersion,UpgradeProcess,ViewCountUpgradeProcess
public interface DBProcess
- Author:
- Hugo Huijser, Brian Wing Shun Chan
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidrunSQL(DBTypeToSQLMap dbTypeToSQLMap) voidvoidvoidrunSQL(Connection connection, String template) voidrunSQLFile(String path) voidrunSQLFile(String path, boolean failOnError) default voidrunSQLTemplate(String path) Deprecated.voidrunSQLTemplate(String template, boolean failOnError) default voidrunSQLTemplateString(String template, boolean failOnError) Deprecated.As of Cavanaugh (7.4.x), replaced byrunSQLTemplate(String, boolean)
-
Method Details
-
runSQL
- Throws:
IOExceptionSQLException
-
runSQL
- Throws:
IOExceptionSQLException
-
runSQL
- Throws:
IOExceptionSQLException
-
runSQL
- Throws:
IOExceptionSQLException
-
runSQLFile
- Throws:
IOExceptionNamingExceptionSQLException
-
runSQLFile
- Throws:
IOExceptionNamingExceptionSQLException
-
runSQLTemplate
@Deprecated default void runSQLTemplate(String path) throws IOException, NamingException, SQLException Deprecated.As of Cavanaugh (7.4.x), replaced byrunSQLFile(String)- Throws:
IOExceptionNamingExceptionSQLException
-
runSQLTemplate
void runSQLTemplate(String template, boolean failOnError) throws IOException, NamingException, SQLException - Throws:
IOExceptionNamingExceptionSQLException
-
runSQLTemplateString
@Deprecated default void runSQLTemplateString(String template, boolean failOnError) throws IOException, NamingException, SQLException Deprecated.As of Cavanaugh (7.4.x), replaced byrunSQLTemplate(String, boolean)- Throws:
IOExceptionNamingExceptionSQLException
-
runSQLFile(String)