摘要: Although MyBatis was designed to execute the query after it builds it, you can make use of it's configuration and a little bit of "inside knowledge" t 阅读全文
posted @ 2017-04-07 19:59 沧海一滴 阅读(813) 评论(0) 推荐(0)
摘要: CentOS 7 之前的版本是通过 /etc/inittab 文件来定义系统运行级别: CentOS 7 版本不再使用该文件定义系统运行级别,相关运行级别设置无效: 新版本的运行级别都定义在 /lib/systemd/system下: 可以针对不同需要设置不同的运行级别:如设置命令行级别方法: 设置 阅读全文
posted @ 2017-04-07 14:03 沧海一滴 阅读(549) 评论(0) 推荐(0)
摘要: 1.在session中取得spring security的登录用户名如下:${session.SPRING_SECURITY_CONTEXT.authentication.principal.username} spring security 把SPRING_SECURITY_CONTEXT 放入了 阅读全文
posted @ 2017-04-07 13:09 沧海一滴 阅读(4255) 评论(0) 推荐(1)