摘要:
CriteriaBuilder.In in = criteriaBuilder.in(root.get("field1")); for (String str : arr) { in.value(str);} 阅读全文
posted @ 2018-08-06 15:44
white knight
阅读(117)
评论(0)
推荐(0)
摘要:
jdbcTemplate 的第三个参数一定要是int[]数组,而不能是Object[]数组 阅读全文
posted @ 2018-08-06 11:35
white knight
阅读(481)
评论(0)
推荐(0)
摘要:
public void batchImport(List> list) { String sql = "insert into table1(field1, field2) values(?,?)"; int[] types = new int[2]; types[0] = Types.VARCHAR; types[1] = Types.NUMER... 阅读全文
posted @ 2018-08-06 11:34
white knight
阅读(575)
评论(0)
推荐(0)
浙公网安备 33010602011771号