{
TextBuilder sb = TextBuilder.newInstance();
fs = con.createStatement();
for(Entry<Integer, Long> tmp : _StatCraft.entrySet())
{
fs.addBatch(sb.append("REPLACE DELAYED INTO `craftcount` SET `item_id`=").append(tmp.getKey()).append(", `count`=").append(tmp.getValue()).append(", `char_id`=").append(_objectId).toString());
sb.clear();
}
TextBuilder.recycle(sb);
fs.executeBatch();
DatabaseUtils.closeStatement(fs);