Class UpgradeSchema

java.lang.Object
com.ptc.windchill.upgrade.phases.AbstractUpgradePhase
com.ptc.windchill.upgrade.phases.upgradeschema.UpgradeSchema
All Implemented Interfaces:
com.ptc.windchill.upgrade.phases.UpgradePhase

public class UpgradeSchema extends com.ptc.windchill.upgrade.phases.AbstractUpgradePhase
UpgradeSchema is a phase responsible for generating and executing the sql statements which are required to update the database schema to match the target model schema. The SchemaDifferences class, which has previously been populated with both the Searching for modified database objects and Gathering modification details, provides the lists of all the changes. This class takes these changes and first generates the appropriate sql to make this change, and then second, makes calls to dbservices to execute the generated sql.
  • Field Summary

    Fields inherited from class com.ptc.windchill.upgrade.phases.AbstractUpgradePhase

    upgradeStates

    Fields inherited from interface com.ptc.windchill.upgrade.phases.UpgradePhase

    GENERATING_REPORT
  • Method Summary

    Methods inherited from class com.ptc.windchill.upgrade.phases.AbstractUpgradePhase

    addMigratorDirective, addMigratorDirective, addPropertyChangeListener, addPropertyChangeListener, addUpgradeState, allowsPauseBetweenPhases, buildCompletedUpgradeState, buildDisplayUpgradeState, buildReadyUpgradeState, buildRunningUpgradeState, buildRunningUpgradeState, executeReadyState, getLogFilePaths, getMigratorDirectives, getPhaseDescription, getPhaseName, getPhaseSubDirectoryName, getProperty, getUpgradePhaseType, getUpgradeStates, getUpgradeXMLWriter, getXconfIncludeFile, getXconfRemovalFile, hasMigrators, isAllowContinueOnFailureWithMigrators, isApplicable, isIncomplete, isMethodServerRequired, isPauseBetweenPhases, isPhaseRequired, isPostMethodServerProcessingRequired, isPreMethodServerStartupProcessingRequired, isPreviouslyCompleted, isReportOnlyPhase, isRunningStateInteractive, isSaveHistoryInDbRequired, isTemplateCheckoutRequired, performPostMethodServerProcessing, performPreMethodServerStartupProcessing, removePropertyChangeListener, removePropertyChangeListener, setAllowContinueOnFailureWithMigrators, setIsRunningStateInteractive, setMethodServerRequired, setPhaseDescription, setPhaseName, setPhaseRequired, setPhaseSubDirectoryName, setPostMethodServerProcessingRequired, setProperty, setReportOnlyPhase, setSaveHistoryInDbRequired, setStatus, setTemplateCheckoutRequired, setUpgradePhaseType, setUpgradeXMLWriter, setXconfIncludeFile, setXconfRemovalFile, skipThisPhase

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait