上一页 1 ··· 213 214 215 216 217 218 219 220 221 ··· 246 下一页
摘要: HTML: 1 <h3>字符串数组排序前</h3> 2 <div id="show5"></div> 3 <h3>排序后</h3> 4 <div id="show6"></div> jquery: var animals = ['dog','cat','tiger','pig','bird']; $ 阅读全文
posted @ 2016-06-29 14:03 疯子110 阅读(1190) 评论(0) 推荐(0)
摘要: 纯粹做个记录,以免日后忘记该怎么设定。 这一篇将会说明两种使用 jQuery EasyUI DataGrid 的 Checkbox 设定方式,以及在既有数据下将 checked 为 true 的该笔数据列的 Checkbox 设定为 Checked,另外就是两种 Checkbox 设定方式下如何取得 阅读全文
posted @ 2016-06-28 15:47 疯子110 阅读(17090) 评论(1) 推荐(0)
摘要: Oracle 9i数据库,执行下面语句出现错误“ORA-01791: 不是 SELECTed 表达式”:select distinct t.name from auth_employee t order by t.auth_employee_id asc 原来:SELECT语句中含有DISTINCT 阅读全文
posted @ 2016-06-28 15:42 疯子110 阅读(643) 评论(0) 推荐(0)
摘要: ibatis动态sql配置启动时提示:The content of elements must consist of well-formed character data... 分享| 2012-07-18 11:21wuming3632171 | 浏览 5114 次 ibatis配置如下,高手帮我 阅读全文
posted @ 2016-06-25 13:23 疯子110 阅读(534) 评论(0) 推荐(0)
摘要: 1.创建表空间 create tablespace example_tablespace datafile 'e:\****.dbf' size 10m reuse autoextend on next 1m maxsize unlimited; 2.创建用户,指定表空间,临时表空间 create 阅读全文
posted @ 2016-06-22 09:07 疯子110 阅读(10290) 评论(1) 推荐(0)
摘要: c3p0配置 initialPoolSize 和minPoolSize 可以设为0吗?设0有坏处吗? c3p0配置 initialPoolSize 和minPoolSize 可以设为0吗?设0有坏处吗? c3p0配置 initialPoolSize 和minPoolSize 可以设为0吗?设0有坏处 阅读全文
posted @ 2016-06-21 15:00 疯子110 阅读(10501) 评论(1) 推荐(0)
摘要: 程序如果长时间不进行数据库操作,那么数据源中的 Connection 很可能已经断开。其原因有可能是防火墙,或者连接的数据库设置的超时时间。这里使用的是 C3P0 连接 oracle 数据库,引起的异常信息为: org.springframework.transaction.TransactionS 阅读全文
posted @ 2016-06-21 14:59 疯子110 阅读(18639) 评论(0) 推荐(1)
摘要: JdbcUtil类: [java] view plain copy package com.xiaohui.jdbc.util; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.Result 阅读全文
posted @ 2016-06-21 14:58 疯子110 阅读(2602) 评论(0) 推荐(0)
摘要: 利用Maven来管理项目中的JAR包,同时使用Spring在业务处理层进行事务管理。数据库使用MySq,数据处理层使用Spring和Mybatis结合。 本案例代码主要结构如图: 1.数据库脚本 2.maven配置文件pom.xml 3.数据库配置文件config.properties 4.Spri 阅读全文
posted @ 2016-06-21 14:50 疯子110 阅读(1435) 评论(0) 推荐(0)
摘要: 背景:有时不是记住密码就方便,有时是记录了反而不好,不安全呵。1)首先大部分浏览器都是根据表单域的type="password"来判断密码域的,所以针对这种情况可以采取“动态设置密码域”的方法:<input type="text" name="password" onfocus="this.type 阅读全文
posted @ 2016-06-17 14:54 疯子110 阅读(2192) 评论(0) 推荐(0)
上一页 1 ··· 213 214 215 216 217 218 219 220 221 ··· 246 下一页