`
Angi
  • 浏览: 9451 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
使用一个月使用license: JRebel: Starting logging to file: C:\jrebel.log ############################################################# JRebel 3.6.1 (201102071510)    with Enterprise Add-On! (see http://jrebel.com/enterprise) (c) Copyright ZeroTurnaround OU, Estonia, Tartu. Over the last 2 days JRebel pr ...
JBoss中应用的context, 在WEB-INF目录下新建一文件jboss-web.xml,内容如下: <jboss-web>    <context-root>customer</context-root> </jboss-web> 则application访问路径为: http://localhost:8080/customer/

signal and resignal

    博客分类:
  • DB2
The difference is this: for SIGNAL 1) the SQLSTATE must be stated unless signalling a named condition 2) can be placed anywhere For RESIGNAL 1) Must be in condition handler 2) SQLSTATE is optional, if omitted will use sqlstate that caused condition handler to execute.
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 conditions arise within it, all statements that have executed up to that point are considered to have failed as ...
jQuery(function(){ jQuery("#list").change(function(){ alert(jQuery("#list option:selected").text()); }); }); <select id='list'> <option value='1'>Option A</option> <option value='2'>Option B</option> <option value='3'>Opt ...
iBatis配置: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN" "http://www.ibatis.com/dtd/sql-map-config-2.dtd"> <sqlMapConfig> <settings cacheModelsEnabled=&q ...
TblUserDAO tblUserDAO = new TblUserDAO(); // 如下系列操作可以理解为一个业务处理, // 事务控制放在业务处理上, // 而不是DAO上,难道这就是为什么MyEclipse生产的DAO不带事务控制的原因吗? // 打开事务 HibernateSessionFactory.getSession().beginTransaction(); // 操作1:更新 TblUser tblUser1 = tblUserDAO.findById(2); tblUser1.setPassword( ...
1、服务端返回中文 response.setContentType("text/text;charset=UTF-8"); 或 response.setContentType("text/xml;charset=UTF-8"); 2、带中文提交到服务端 var url="a.jsp?username=小王"; url=encodeURI(url); url=encodeURI(url);//两次(不知道为什么,呵呵) (上面这种方式测试成功)或 var url="a.jsp?name=escape("小李&q ...
Global site tag (gtag.js) - Google Analytics