public class CmsUpdateDBHistoryTables extends A_CmsUpdateDBPart
The following tables are converted CMS_BACKUP_PROJECTRESOURCES CMS_BACKUP_PROPERTIES CMS_BACKUP_PROPERTYDEF CMS_BACKUP_RESOURCES CMS_BACKUP_STRUCTURE The tables CMS_HISTORY_PRINCIPALS and CMS_HISTORY_PROJECTS are created in other classes. CMS_HISTORY_PRINCIPALS is a completely new table and is therefor handled by its own class. CMS_HISTORY_PROJECTS needs extra conversion beyond the execution of SQL statements and is also handled by a special class.
m_poolData, m_queries
构造器和说明 |
---|
CmsUpdateDBHistoryTables()
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
internalExecute(CmsSetupDb dbCon)
Does the hard work.
|
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
public CmsUpdateDBHistoryTables() throws java.io.IOException
java.io.IOException
- if the sql queries properties file could not be readprotected void internalExecute(CmsSetupDb dbCon) throws java.sql.SQLException
A_CmsUpdateDBPart
internalExecute
在类中 A_CmsUpdateDBPart
dbCon
- the db connection interfacejava.sql.SQLException
- if something goes wrongA_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)