Class AddTenantDAO
- java.lang.Object
-
- com.ibm.fhir.database.utils.tenant.AddTenantDAO
-
- All Implemented Interfaces:
IDatabaseStatement
public class AddTenantDAO extends java.lang.Object implements IDatabaseStatement
DAO to create a free tenant slot (to align with a new partition)
-
-
Constructor Summary
Constructors Constructor Description AddTenantDAO(java.lang.String schemaName, int tenantId, java.lang.String tenantName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection.
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
-