Class UpdateSchemaVersionPostgresql
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.schema.UpdateSchemaVersion
-
- org.linuxforhealth.fhir.database.utils.schema.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 org.linuxforhealth.fhir.database.utils.schema.UpdateSchemaVersion
run
-
-
-
-
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 classUpdateSchemaVersion
- Returns:
- the SQL insert statement
-
-