insert into table(name) values ('row1'),('row2'); QAlert t_alert = QAlert.alert;
try(Connection con = ds.getConnection()){
SQLInsertClause clause = new SQLInsertClause(con, conf, t_alert);
clause.columns(t_alert.city).values("city1").addBatch();
clause.columns(t_alert.city).values("city2").addBatch();
clause.execute();
}catch(Exception ex){
}insert into `alert` (`city`) values ('city1');
insert into `alert` (`city`) values ('city2');