Package org.opencms.setup.db.update6to7
Class CmsUpdateDBNewTables
- java.lang.Object
-
- org.opencms.setup.db.A_CmsUpdateDBPart
-
- org.opencms.setup.db.update6to7.CmsUpdateDBNewTables
-
- All Implemented Interfaces:
I_CmsUpdateDBPart
- Direct Known Subclasses:
CmsUpdateDBNewTables
,CmsUpdateDBNewTables
,CmsUpdateDBNewTables
public class CmsUpdateDBNewTables extends A_CmsUpdateDBPart
This class creates the new tables for the database of OpenCms.The new tables in OpenCms 7 are:
CMS_OFFLINE_RESOURCE_RELATIONS
CMS_ONLINE_RESOURCE_RELATOINS
CMS_PUBLISH_JOBS
CMS_RESOURCE_LOCKS
CMS_CONTENTS
CMS_HISTORY_STRUCTURE
CMS_HISTORY_RESOURCES
CMS_HISTORY_PROPERTIES
CMS_HISTORY_PROPERTYDEF
CMS_HISTORY_PROJECTRESOURCES
- Since:
- 7.0.0
-
-
Field Summary
-
Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
-
Constructor Summary
Constructors Constructor Description CmsUpdateDBNewTables()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
internalExecute(CmsSetupDb dbCon)
Does the hard work.-
Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
-
-
-
-
Constructor Detail
-
CmsUpdateDBNewTables
public CmsUpdateDBNewTables() throws java.io.IOException
Constructor.- Throws:
java.io.IOException
- if the sql queries properties file could not be read
-
-
Method Detail
-
internalExecute
protected void internalExecute(CmsSetupDb dbCon) throws java.sql.SQLException
Description copied from class:A_CmsUpdateDBPart
Does the hard work.- Specified by:
internalExecute
in classA_CmsUpdateDBPart
- Parameters:
dbCon
- the db connection interface- Throws:
java.sql.SQLException
- if something goes wrong- See Also:
A_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
-
-