会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
蔚之蓝
博客园
首页
新随笔
联系
订阅
管理
2019年4月24日
Extract source code from .jar file
摘要: jar xf filename.jar 解决方案转自:https://stackoverflow.com/questions/5107187/extract-source-code-from-jar-file 相关博客:https://blog.csdn.net/mxmxz/article/deta
阅读全文
posted @ 2019-04-24 15:55 蔚之蓝
阅读(179)
评论(0)
推荐(0)
2019年3月12日
springboot+mybatis配置控制台打印sql日志
摘要: 在springBoot+Mybatis(Mapper)日志显示SQL的执行情况的最简单方法就是在application.yml新增如下日志配置:logging.level.com.dc.pcasweb.mapper: debug
阅读全文
posted @ 2019-03-12 16:45 蔚之蓝
阅读(10864)
评论(1)
推荐(0)
2019年2月26日
解决springboot项目,插入时间数据到数据库为空的问题
摘要: 1、解决springboot项目,插入时间数据到数据库为空的问题: SpringBoot Jpa 实体定义,在MySql中自动生成时间 https://blog.csdn.net/wokenshin/article/details/81215330
阅读全文
posted @ 2019-02-26 17:25 蔚之蓝
阅读(2182)
评论(0)
推荐(0)
mysql 给已存在的主键字段设置自增
摘要: 第一步:给 id 增加auto_increment 属性 alter table tablename modify id int(11) auto_increment;第二步:给自增值设置初始值 alter table tablename auto_increment=10000;
阅读全文
posted @ 2019-02-26 14:46 蔚之蓝
阅读(16153)
评论(0)
推荐(0)
2019年2月12日
解决mysql插入中文字符报错的问题ERROR 1366 (HY000): Incorrect string value: '\xE5\xB0\x8F\xE6\x98\x8E' for column 'name' at row 1
摘要: 报错内容: mysql> insert into person values (1,22,'小明');ERROR 1366 (HY000): Incorrect string value: '\xE5\xB0\x8F\xE6\x98\x8E' for column 'name' at row 1 解
阅读全文
posted @ 2019-02-12 15:29 蔚之蓝
阅读(14582)
评论(2)
推荐(1)
2019年2月11日
解决springboot项目启动时提示mysql时区无法识别的问题
摘要: springboot mysql数据库操作实例 启动项目时,出现如下报错: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. 解决方案: 使用root用户后
阅读全文
posted @ 2019-02-11 17:15 蔚之蓝
阅读(980)
评论(0)
推荐(0)
解决spring boot项目读取yml配置文件的中文字符,视图显示乱码的问题
摘要: 在application.yml中填写中文字符,在读取该文件时会出现中文乱码问题。 视图显示乱码: 解决方式: IDEA环境,首先File->settings->Code style->File Encoding 将project encoding和Default encoding for prop
阅读全文
posted @ 2019-02-11 15:58 蔚之蓝
阅读(8707)
评论(0)
推荐(0)
公告