Class UpdateSchemaVersionPostgresql

  • All Implemented Interfaces:
    IDatabaseStatement

    public class UpdateSchemaVersionPostgresql
    extends UpdateSchemaVersion
    Update the schema version recorded in the WHOLE_SCHEMA_VERSION table Postgresql-specific to handle ON CONFLICT DO NOTHING
    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateSchemaVersionPostgresql​(java.lang.String schemaName, int version)
      Public constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getInsertSQL​(java.lang.String schemaName)
      Get the statement string for inserting a record into WHOLE_SCHEMA_VERSION
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpdateSchemaVersionPostgresql

        public UpdateSchemaVersionPostgresql​(java.lang.String schemaName,
                                             int version)
        Public constructor
        Parameters:
        schemaName -
        version -
    • Method Detail

      • getInsertSQL

        protected java.lang.String getInsertSQL​(java.lang.String schemaName)
        Description copied from class: UpdateSchemaVersion
        Get the statement string for inserting a record into WHOLE_SCHEMA_VERSION
        Overrides:
        getInsertSQL in class UpdateSchemaVersion
        Returns:
        the SQL insert statement