Class CmsUpdateDBAlterTables
- java.lang.Object
-
- org.opencms.setup.db.A_CmsUpdateDBPart
-
- org.opencms.setup.db.update6to7.CmsUpdateDBAlterTables
-
- org.opencms.setup.db.update6to7.postgresql.CmsUpdateDBAlterTables
-
- All Implemented Interfaces:
I_CmsUpdateDBPart
public class CmsUpdateDBAlterTables extends CmsUpdateDBAlterTables
PostgreSQL implementation of the generic Alter Table class.- Since:
- 7.0.2
-
-
Field Summary
-
Fields inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBAlterTables
CMS_OFFLINE_CONTENTS_QUERIES, CMS_OFFLINE_CONTENTS_QUERIES_LIST, CMS_PROPERTYDEF, CMS_PROPERTYDEF_LIST, CMS_RESOURCES, CMS_RESOURCES_LIST, CMS_STRUCTURE, CMS_STRUCTURE_LIST, COLUMN_CMS_OFFLINE_CONTENTS_CONTENT_ID, COLUMN_CMS_PROPERTYDEF_TYPE, COLUMN_CMS_STRUCTURE_STRUCTURE_VERSION, COLUMN_PROJECTS_PROJECT_NAME, COLUMN_PROJECTS_TASK_ID, COLUMN_RESOURCES_DATE_CONTENT, COLUMN_RESOURCES_RESOURCE_VERSION, REPLACEMENT_TABLENAME, TABLE_CMS_OFFLINE_CONTENTS, TABLE_CMS_PROJECTS
-
Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
-
Constructor Summary
Constructors Constructor Description CmsUpdateDBAlterTables()
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
-
CmsUpdateDBAlterTables
public CmsUpdateDBAlterTables() 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 classCmsUpdateDBAlterTables
- Parameters:
dbCon
- the db connection interface- Throws:
java.sql.SQLException
- if something goes wrong- See Also:
A_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
-
-