1、springboot加载数据1000行限制
/**
* 将前台传递过来的日期格式的字符串,自动转化为Date类型
*/
@InitBinder
public void initBinder(WebDataBinder binder)
{
binder.setAutoGrowCollectionLimit(10000);
// Date 类型转换
binder.registerCustomEditor(Date.class, new PropertyEditorSupport()
{
@Override
public void setAsText(String text)
{
setValue(DateUtils.parseDate(text));
}
});
}
2、mysql查询结果1000行限制
3、mysql数据库批量更新限制
url中增加限制:&allowMultiQueries=true