摘要:
CriteriaBuilder.In in = criteriaBuilder.in(root.get("field1")); for (String str : arr) { in.value(str);} 阅读全文
摘要:
jdbcTemplate 的第三个参数一定要是int[]数组,而不能是Object[]数组 阅读全文
摘要:
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... 阅读全文