def METHOD_NAME(**param):
  values = "(%s)" % ','.join([ '?' for i in xrange(0,len(id_column_map)) ])
  values = ",".join([ values for i in xrange(0, param["batch_count"]) ])
  column_def = ','.join([ i[1] for i in id_column_map ])
  param["values"] = values
  param["column_def"] = column_def
  return "prepare p1 from replace into %(table_name)s(%(column_def)s) values%(values)s" % param