Package com.ibm.fhir.database.utils.db2
Class Db2SetTenantVariable
- java.lang.Object
-
- com.ibm.fhir.database.utils.db2.Db2SetTenantVariable
-
- All Implemented Interfaces:
IDatabaseStatement
public class Db2SetTenantVariable extends Object implements IDatabaseStatement
DAO command to call the set_tenant fhir admin procedure which will set the fhir_admin.sv_tenant_id variable but only if the correct tenantKey is provided.
-
-
Constructor Summary
Constructors Constructor Description Db2SetTenantVariable(String schemaName, String tenantName, String tenantKey)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection.
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
-