- 博客(8)
- 收藏
- 关注
原创 JRebel
使用一个月使用license:JRebel: Starting logging to file: C:\jrebel.log############################################################# JRebel 3.6.1 (201102071510) with Enterprise Add-On! (see http:...
2011-03-26 16:29:40
227
原创 JBoss application context
JBoss中应用的context,在WEB-INF目录下新建一文件jboss-web.xml,内容如下: customer则application访问路径为:http://localhost:8080/customer/
2011-03-25 13:34:36
210
原创 signal and resignal
The difference is this:for SIGNAL 1) the SQLSTATE must be stated unless signalling a named condition2) can be placed anywhereFor RESIGNAL1) Must be in condition handler2) SQLSTATE is optio...
2011-03-23 17:31:22
144
原创 atomic of store procedure
not atomic: The procedure neither committed, nor rolled back and this remains to be done for the complete unit of work in which the SQL procedure was called.atomic: If any unhandled error conditio...
2011-03-23 17:05:18
105
原创 selected option's text
[code="java"]jQuery(function(){ jQuery("#list").change(function(){ alert(jQuery("#list option:selected").text()); });});[/code][code="java"] Option A Option B Option C[/c...
2011-03-23 11:03:13
72
原创 iBatis事务
iBatis配置:[code="java"] [/code]事务默认自动提交:[code="java"]User user = new User();user.se...
2011-03-21 21:45:34
82
原创 Hibernate事务
[code="java"] TblUserDAO tblUserDAO = new TblUserDAO(); // 如下系列操作可以理解为一个业务处理, // 事务控制放在业务处理上, // 而不是DAO上,难道这就是为什么MyEclipse生产的DAO不带事务控制的原因吗? // 打开事务 HibernateSessionFactory.getS...
2011-03-21 21:41:10
84
原创 Ajax中文乱码
1、服务端返回中文[code="java"]response.setContentType("text/text;charset=UTF-8");[/code]或[code="java"]response.setContentType("text/xml;charset=UTF-8");[/code]2、带中文提交到服务端[code="java"]var url="a.js.
2011-03-21 21:02:59
65
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人