摘要: 也可以参考https://blog.csdn.net/liuhaiabc/article/details/52450167 https://blog.csdn.net/baidu_37107022/article/details/77481670 数据库事务的隔离级别有4个,由低到高依次为Read 阅读全文
posted @ 2019-05-20 18:41 那些年的代码 阅读(1355) 评论(0) 推荐(0) 编辑
摘要: 1、instr函数 instr函数是一个字符串处理函数,它在Oracle/PLSQL中是返回子字符串在源字符串中的位置,如果在源串中没有找到子串,则返回0。 instr函数定义如下: /* * 返回子字符串在源字符串中的位置(字符串位置从1开始,而不是从0开始) * @param str 源字符串 阅读全文
posted @ 2019-05-20 17:35 那些年的代码 阅读(2396) 评论(0) 推荐(0) 编辑
摘要: 如果用命令 which redis 或者 whereis redis 都找不到安装目录, 可使用以下办法: ps -aux | grep redis 或者ps -ef|grep redis 假如得到了进程号 16678然后用命令 ll /proc/16678/cwd 阅读全文
posted @ 2019-05-20 17:10 那些年的代码 阅读(13284) 评论(1) 推荐(0) 编辑
摘要: result类型 dispatcher服务器跳转只能跳转到页面,html,或者jsp ,不能是action redirect客户端跳转只能跳转视图也不能是action chain可以跳转到另外的action redirectAction客户端跳转到另外的action 阅读全文
posted @ 2019-05-20 17:04 那些年的代码 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 因为如果使用ajax 的 get 方式提交数据到后台controller的时候可能会出现缓存而无法提交的现象。 解决这类问题的方法有两种: 1、在ajax的url后面添加一个随机参数如 URL+"&rd="+Math.random();或者URL+"&ts="+new Date(); 2、把ajax 阅读全文
posted @ 2019-05-20 11:55 那些年的代码 阅读(980) 评论(0) 推荐(0) 编辑
摘要: {field:'domdistrict2',title:'区县',width:100}, {field:'option',title:'操作',width:fixWidth(0.08),align:'center', formatter:function(value,rowData,rowIndex 阅读全文
posted @ 2019-05-20 11:54 那些年的代码 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 数据库事务的隔离级别有4个,由低到高依次为Read uncommitted、Read committed、Repeatable read、Serializable,这四个级别可以逐个解决脏读、不可重复读、幻读这几类问题。 √: 可能出现 ×: 不会出现 脏读 不可重复读 幻读 Read uncomm 阅读全文
posted @ 2019-05-20 11:51 那些年的代码 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 数据库隔离级别数据库事务的隔离级别有4个,由低到高依次为Read uncommitted、Read committed、Repeatable read、Serializable... 阅读全文
posted @ 2019-05-20 11:50 那些年的代码 阅读(10347) 评论(1) 推荐(0) 编辑
摘要: var dltable=''; // <c:forEach items="data" var="data" ></c:forEach> for(var i=0;i<data.LISTINSPECT.length;i++){ dltable += "<tr>"; dltable += "<th sty 阅读全文
posted @ 2019-05-20 11:40 那些年的代码 阅读(962) 评论(0) 推荐(0) 编辑
摘要: String sqlSearchtext = ""; if(!"".equals(model.getXzqhdm())&&model.getXzqhdm()!=null){ String [] xzqhdmList = model.getXzqhdm().split(","); List<Strin 阅读全文
posted @ 2019-05-20 11:36 那些年的代码 阅读(457) 评论(0) 推荐(0) 编辑