Package com.ibm.fhir.bucket.persistence
Class AddResourceBundleErrors
- java.lang.Object
-
- com.ibm.fhir.bucket.persistence.AddResourceBundleErrors
-
- All Implemented Interfaces:
IDatabaseStatement
public class AddResourceBundleErrors extends Object implements IDatabaseStatement
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema
-
-
Constructor Summary
Constructors Constructor Description AddResourceBundleErrors(String schemaName, long resourceBundleLoadId, Collection<ResourceBundleError> errors, int batchSize)
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.
-
-
-
Constructor Detail
-
AddResourceBundleErrors
public AddResourceBundleErrors(String schemaName, long resourceBundleLoadId, Collection<ResourceBundleError> errors, int batchSize)
Public constructor- Parameters:
schemaName
-resourceBundleLoadId
-errors
-batchSize
-
-
-
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
-
-