`
lichangwei
  • 浏览: 75368 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论
文章列表
1.SET DEFINE OFF 的用法; (摘自:http://hi.baidu.com/wanghp/blog/item/50d8a901fa57e4061d9583c6.html) 在SQL*Plus中默认的"&"表示替代变量,也就是说,只要在命令中出现该符号,SQL*Plus就会要你输入替代值。这就意味着你无法将一个含有该符号的字符串输入数据库或赋给变量,如字符串“SQL&Plus”系统会理解为以“SQL”打头的字符串,它会提示你输入替代变量Plus的值,如果你输入ABC,则最终字符串转化为“SQLABC”。 set define off 则关闭该功 ...
1.只针对不正常的条件才使用异常   异常只应该被用于不正常的条件,它们永远不应被用于正常的控制流。 (摘自:http://blog.csdn.net/jery_lee/archive/2004/10/13/135489.aspx) //horrible abuse of exceptions. Don't ever do this! try{ int i=0; while(true)a[i++].f(); }catch(ArrayIndexOutOfBoundsException e){ }其错有三: 创建、抛出和捕获异常的开销是很昂贵的。因为它的初衷是用于不正常的情形,少有jvm会 ...
Config archive-directory in xml file to specify the path of the file generated. <archive-directory>E:/archive/sample</archive-directory> In Java: if(!directory.endsWith("/")||!directory.endsWith("\\")){             directory=directory+File.separator;         } Java API ...
Foreword: TBL_BPM_HK_PINS save house keep process instances(contains all outdated pins and uptodate pins), TBL_BPM_PMAP save process maps. Maybe the process map has been deleted, so if want to provider a page to manage these pins, cannot use the common join, or there will be some pins cannot be searc ...
1.Cannot contain comments in tag-class when describe a tag. <tag> <name>collection</name> <tag-class> <!-- com.XXX.XXX.extensions.taglib.iflow.CollectionTag--> com.XXX.iflow.tray.taglib.CollectionTag</tag-class> <body-content>JSP ...

SQL小技巧

1. MSSQL: field: 默认nullable, primate key 被指定"NOT NULL". 不可以用"DROP TABLE IF EXISTS". 2. 通用SQL函数 连接函数: CONCAT(FIRST_NAME,' ',LAST_NAME) AS FULL_NAME
1. MTOM优先于Swa<parameter name="enableMTOM">true</parameter> <parameter name="enableSwA">true</parameter> if axis2.xml was configed as above, enableSwA was unenabled because enableMTOM has a high priority. Now if you try get the haldler, you will get null. 2 ...
1. eval() 可以解析字符串,当作javascript语句执行。比如:eval("5-3*2"),可以制作简单的计算器。eval("alert('Hello World')")这可以执行alert语句。 form.input.value = eval(form.input.value) 2. 数学函数 form.input.value = Math.cos(x); 3. Add a row for t table <script language="javascript"> function add(){ ...
文档: http://www.fckeditor.net/ http://docs.fckeditor.net/FCKeditor_2.x/Users_Guide http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide 1.Download FCKeditor_2.6.3b.zip, copy FCKeditor directory to webapp/. Delete some unused file: (1)all folders whose name start with "_" under FCKe ...
转载:作者 Dennis Sosnoski 译者 胡键 http://www.infoq.com/cn/articles/sosnoski-code-first 第一种被称为“由WSDL开始(start-from-WSDL)”,或是“契约优先(contract first)”,牵涉构建一个WSDL服务描述,并直接关联用于数据交换的XML模式。第二种被称为“由代码开始(start-from-code)”,或是“代码优先(code first)”,牵涉将例子服务代码插入你选择的框架,并由那个代码产生WSDL+模式(schema)。 不论使用哪种开发风格,最终目标都是相同的——你想要你的服务有一 ...
A lot of talking about AJAX is taking place here and there; AJAX is the acronym of "Asynchronous JavaScript and XML", a technology based on XMLHttpRequest, which is now supported by all main browsers. The basic idea is quite simple - and not actually a breakthrough - but it allows updating ...
Global site tag (gtag.js) - Google Analytics