Package com.ibm.fhir.schema.control
Class GetLeasePostgresql
- java.lang.Object
-
- com.ibm.fhir.schema.control.GetLease
-
- com.ibm.fhir.schema.control.GetLeasePostgresql
-
- All Implemented Interfaces:
IDatabaseSupplier<Boolean>
public class GetLeasePostgresql extends GetLease
PostgreSQL variant of GetLease to avoid duplicate PK exception which would cause the transaction to fail. To prevent this, the insert needs ON CONFLICT DO NOTHING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getInsertSQL(String adminSchema)
Get the insert statement
-
-
-
Method Detail
-
getInsertSQL
protected String getInsertSQL(String adminSchema)
Description copied from class:GetLease
Get the insert statement- Overrides:
getInsertSQL
in classGetLease
- Returns:
-
-