注意
文章平均质量分 77
zhi-z
这个作者很懒,什么都没留下…
展开
-
备注 oracle 查null或空字符串;根据参数顺序查询;exists 使用;sql 查询时固定一列,到java 后台数据类型为Character;SQL设置日期;查库大小
SELECT nvl2(max(decode(字段1,' ' , null,字段1)),'1','0') FROM table 先把空字符串替换为null nvl2函数中 有值的替换为1 ,null的替换为0原创 2020-12-17 14:06:49 · 251 阅读 · 0 评论 -
请求时文字被编码的部分原理 ;unicode编码
https://www.qqxiuzi.cn/bianma/erjinzhi.php 转码网址 @Test public void test4() throws Exception { String str = "中国" ; System.out.println(URLEncoder.encode(str)); // %E4%B8%AD%E5%9B%BD System.out.println(URLEncoder.encode(str,"gb原创 2020-12-09 17:13:21 · 623 阅读 · 0 评论 -
No SecurityManager accessible to the calling code 错误解决方式
Cause: org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration. 上方报错的几种可能 唯原创 2020-10-19 14:22:50 · 25211 阅读 · 0 评论 -
获取项目路径备忘
ContextLoader.getCurrentWebApplicationContext().getServletContext().getRealPath("/"); this.getClass().getResource("/").getPath();原创 2020-08-19 13:14:07 · 158 阅读 · 0 评论