Class VerifyDatabasePartitioningModeMigrationTask

java.lang.Object
ca.uhn.fhir.jpa.migrate.taskdef.BaseTask
ca.uhn.fhir.jpa.migrate.tasks.VerifyDatabasePartitioningModeMigrationTask

This task verifies that the in-place schema is appropriate for Database Partition Mode (if that mode is enabled), or is appropriate for legacy mode otherwise.
  • Constructor Details

  • Method Details

    • validate

      public void validate()
      Specified by:
      validate in class BaseTask
    • doExecute

      protected void doExecute() throws SQLException
      Specified by:
      doExecute in class BaseTask
      Throws:
      SQLException
    • generateHashCode

      protected void generateHashCode(org.apache.commons.lang3.builder.HashCodeBuilder theBuilder)
      Nothing added other than the class name, just to give some kind of meaningful value. There is one bit of interesting state in this class, in the myExpectDatabasePartitionMode field. But we actually want this task to keep working even if the wrong flag is passed in, so we don't include it here.
      Specified by:
      generateHashCode in class BaseTask
    • generateEquals

      protected void generateEquals(org.apache.commons.lang3.builder.EqualsBuilder theBuilder, BaseTask theOtherObject)
      Specified by:
      generateEquals in class BaseTask