`
wenjinglian
  • 浏览: 821831 次
  • 性别: Icon_minigender_1
  • 来自: 株洲->深圳
社区版块
存档分类
最新评论
文章列表
eclipse解决@Override报错    
用httpclient访问https 资源时,会出现异常,与环境也有关系,有些机器请求正常.    错误详情: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at com ...
//想保留两位小数,除数不应该用float型 System.out.println(14035511 / 100.0); System.out.println(14035511 / 100f); System.out.println(14035521 / 100.0); System.out.println(14035521 / 100f); System.out.println(14035531 / 100.0); System.out.println(14035531 / 100f);  结果:   140355.11 140355.11 140355.21 ...
由于非正常关机导致 fsck /dev/hddn (代表根目录所在的区)
$('input').each(function(){    if($(this).val() == ''){        // do something         if(1==1)return false; // 使用return false 来实现跳出循环。         else return true; // 使用return true 来实现进入下一个循环。    }}); 没看源码,jquery里面应该是迭代每一个元素后查看返回的值,判断是否继续迭代下一个元素。
1.定义带有参数的游标调用带有参数的游标,可以取得不同的查询结果集     cursor (v_dept number,v_job varchar2) is select last_name,salary,hire_date from employees where department_id = v_dept and job_id = v_job; ... begin .... open emp_cursor(10,'java') ... end;
<script type="text/javascript"> var x var mycars = new Array() mycars[0] = "Saab" mycars[1] = "Volvo" mycars[2] = "BMW" for (x in mycars) { document.write(mycars[x] + "<br />"); } </script>   调试发现会多进入一次循环.

Oracle to_date

  to_date('2011-04-25 15:15:12','yyyy-mm-dd hh24:mi:ss') 注意:格式化参数   oracle很多都特别
net.sf.json.JSONException: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role hibernate持久对象,延迟加载出现这号东西,用VO来解决它   收藏:VO(DTO)模式在分层架构设计中是否需要的扯淡 http://peterwei.iteye.com/blog/1013803
  Caused by: java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:oracle:thin:@192.168.0.74:1521:orcltest, username = payment. Terminating connection pool. Original Exception: ------ java.sql.SQLException: Listener refused the connection with the following ...
build.xml   <?xml version="1.0" encoding="UTF-8"?> <!-- @author nassir Wen @version 2.0 @date 2011-6-25 ant 事例 --> <project basedir="." default="build" name="ant"> <property name="debug" ...
  <?xml version="1.0" encoding="UTF-8"?> <!-- @author nassir Wen @version 2.0 @date 2011-6-22 payCenter war包构建 顺序:clear -> init -> compile -> war --> <project basedir="." name="payCenter" default="all& ...

Jquery资料

资料保存:JQuery权威指南源代码
  判断:签名 +<is_success>T</is_success>  + <trade_status></trade_status>
起征税3000 create or replace function tax(v_salary in number) return number is v_expense number; --本级速算扣除额=上一级最高所得额×(本级税率-上一级税率)+上一级速算扣除数 v_quick_deduction number := 0; v_temp number; begin v_temp := v_salary - 3000; if v_temp <= 1500 then v_temp := v_temp * 0.05; e ...
Global site tag (gtag.js) - Google Analytics