INSERT INTO enclosure_${tenantID} ( file_Name, Volume_name, physicsFileName, file_size, dataRowNum, formID ) VALUES ( #{enc.fileName}, #{enc.volumeName}, #{enc.physicsFileName}, #{enc.fileSize}, #{enc.dataRowNum}, #{enc.formID} ); DELETE FROM enclosure_${tenantID} WHERE physicsFileName = #{path}