Package com.ibm.fhir.schema.control
Class UpdateSchemaVersionPostgresql
- java.lang.Object
-
- com.ibm.fhir.schema.control.UpdateSchemaVersion
-
- com.ibm.fhir.schema.control.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(String schemaName, FhirSchemaVersion version)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getInsertSQL(String schemaName)
Get the statement string for inserting a record into WHOLE_SCHEMA_VERSION-
Methods inherited from class com.ibm.fhir.schema.control.UpdateSchemaVersion
run
-
-
-
-
Constructor Detail
-
UpdateSchemaVersionPostgresql
public UpdateSchemaVersionPostgresql(String schemaName, FhirSchemaVersion version)
Public constructor- Parameters:
schemaName
-version
-
-
-
Method Detail
-
getInsertSQL
protected String getInsertSQL(String schemaName)
Description copied from class:UpdateSchemaVersion
Get the statement string for inserting a record into WHOLE_SCHEMA_VERSION- Overrides:
getInsertSQL
in classUpdateSchemaVersion
- Returns:
- the SQL insert statement
-
-