nutzam/nutz — Issue #99: 批量执行插入sql，会多插入一条空数据
Author: pangwu86
Created: 2011-11-01 09:38:34+00:00
State: open
Labels: Dao

举例：
Sql batchInsert = Sqls.create("insert m_sql(tbl_name,cdn_value) values(@tbl_name,@cdn_value)");
batchInsert.params().set("tbl_name", ‘abc’).set("cdn_value", ‘def’);
batchInsert.addBatch();
dao.execute(batchInsert)

查询数据库会有两条数据

| tbl_name | cdn_value |
| ------------- | -------------- |
| abc | def |
| ------------- | -------------- |
| | |