Class CmsUpdateDBNewTables
- java.lang.Object
-
- org.opencms.setup.db.A_CmsUpdateDBPart
-
- org.opencms.setup.db.update6to7.CmsUpdateDBNewTables
-
- org.opencms.setup.db.update6to7.mysql.CmsUpdateDBNewTables
-
- All Implemented Interfaces:
I_CmsUpdateDBPart
public class CmsUpdateDBNewTables extends CmsUpdateDBNewTables
This class creates the new tables for the database version of OpenCms 7.The new tables are CMS_OFFLINE_RESOURCE_RELATIONS CMS_ONLINE_RESOURCE_RELATOINS CMS_PUBLISH_JOBS CMS_RESOURCE_LOCKS CMS_CONTENTS
-
-
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.- Overrides:
internalExecute
in classCmsUpdateDBNewTables
- Parameters:
dbCon
- the db connection interface- Throws:
java.sql.SQLException
- if something goes wrong- See Also:
A_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
-
-