- 博客(4)
- 收藏
- 关注
转载 解决data too long for column 'name' at row 1
最先试一试最简单的测试方式就是先修改my.ini文件中的-default-character-set = gb2312或utf8,重启mysql再输入数据,如果不行,再考虑以下办法。 在程序中写了一段代码向数据库中插入数据,出现了data too long for column 'name' at row 1的问题。在google搜了一下解决方法,真是五花八门,也逐一试了一遍,终于
2017-04-04 17:02:40 20767
转载 使用Spring的@Scheduled实现定时任务
Spring配置文件xmlns加入xmlns:task="http://www.springframework.org/schema/task"xsi:schemaLocation中加入 http://www.springframework.org/schema/task http://www.springframework.org/schema/ta
2017-04-03 16:29:00 216
转载 使用Spring的@Scheduled实现定时任务
1. 在spring的xml配置文件中添加 xmlns:task="http://www.springframework.org/schema/task" http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xs
2017-04-03 16:23:10 258
原创 java判断file是否是image类型
if(file.getContentType().indexOf("image")!=-1){return JsonResultUtil.getErrorJson("不允许上传的文件格式,请上传gif,jpg,bmp格式文件。");}
2017-03-31 09:09:32 2319 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人