`
longflang
  • 浏览: 64290 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
在网上找到的一份关于oracle正则表达式,感觉不错,跟大家分享,见附件!
List<Operator>   java: JSONArray ja = new JSONArray(); List<Operator> operatorsList = sysManageOrganiseFacade.queryOperateOrderByBustypeAndOrgid(businesstypeTemp,                    Constants.ROLE_BUSINESSDIRECTOR, organsie.getOrganiseid());// 得到当前部门操作员列表 for (Operator p : operato ...
 Java代码     Map map = new HashMap();         Iterator it = map.entrySet().iterator();         while (it.hasNext()) {             Map.Entry entry = (Map.Entry) it.next();             Object key = entry.getKey();             Object value = entry.getValue();     }     JDK1.5中,应用新特性For-Each循环    ...
sql split 创建用于存储分开的值容器:create or replace type ty_str_split is table of varchar2 (4000) 创建分离的方法并返回:create or replace function fn_split(p_str       in varchar2,                                    p_delimiter in varchar2)  return ty_str_split  is  j         int := 0;  i         int := 1;  len       in ...
top,self,parent,open,href,location 详细解释 关于这几个常用的脚本关键字,很多人经常会很不明白,现在我采用下面的方式相信能很快明白:(如果A,B,C,D,Page都是htm,D是C的iframe,C是B的iframe,B是A的iframe,Page是公共呈现页面。如果D中js这样写) 大致页面的源码如下: D.htm <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtm ...
response.setContentType() ; * = application/octet-stream .001 = application/x-001 .301 = application/x-301 .323 = text/h323 .906 = application/x-906 .907 = drawing/907 .a11 = application/x-a11 .acp = audio/x-mei-aac .ai = application/postscript .aif = audio/aiff .aifc = audio/aiff .aiff = audio/aiff ...
public class Client { public static void main(String[] args) {   List listTemp = new ArrayList();   listTemp.add(1);   listTemp.add(2);   listTemp.add(3);   listTemp.add(4);   for(Integer i : listTemp){    listTemp.remove(i);   } } }   Exception in thread "main" java.util.ConcurrentModifi ...
序列 SQL> create sequence seq_id    2  increment by 1  3  start with 1  4  nomaxvalue;   触发器 SQL>create or replace trigger tri_userid      2  before insert on userinfo  3  for each row  4  declare new_key number;  5  begin  6    select seq_id.nextval into new_key from dual;  7    :new.useri ...

隐式游标的参数

当执行一条DML语句后,DML语句的结果保存在四个游标属性中,这些属性用于控制程序流程或者了解程序的状态。当运行DML语句时,PL/SQL打开一个内建游标并处理结果,游标是维护查询结果的内存中的一个区域,游标在运行DML语句时打开,完成后关闭。隐式游标只使用SQL%FOUND,SQL%NOTFOUND,SQL%ROWCOUNT三个属性.SQL%FOUND,SQL%NOTFOUND是布尔值,SQL%ROWCOUNT是整数值。  SQL%FOUND和SQL%NOTFOUND  在执行任何DML语句前SQL%FOUND和SQL%NOTFOUND的值都是NULL,在执行DML语句后,SQL%FOUND的 ...
Ajax的主要作用就是不刷新页面更新页面的内容,也就是异步传输。用来显示Ajax响应的div。下面就是一段使用Ajax的简单示例。 function ajaxRequest(){ var req = false; if(window.XMLHttpRequest) { var req = new window.XMLHttpRequest(); } else if (window.ActiveXObject) { var req = new window.ActiveXObject('Microsoft.XMLHTTP'); } if(!req) return ...
dows->References->General->keys 找一个Command为Content Assist的行,将键位改成“Alt+/”就可以了,同时将when选择"Editing JAVA Source"
java.math.BigDecimal。BigDecimal一共有4个够造方法: 第一种:BigDecimal(double val)Translates a double into a BigDecimal. 第二种:BigDecimal(String val)Translates the String repre sentation of a BigDecimal into a BigDecimal. 使用BigDecimal要用String来够造,要做一个 ...
1导入相关包: 2.在web-info中加入applicationContext-compass.xml 3.在spring配置文件中加入compass支持类的引用 <bean id="productManager" class="com.v512.example.service.impl.ProductManagerImpl">     <property name
一、struts和spring整合: 1、让struts的action继承spring的ActionSupport: ApplicationContext context = getWebApplicationContext(); CourseService courseService = context.getBean("courseService"); 2、配置方式 修改struts的配置文件 <action path="/listCourses" type="org.springframework.web.struts ...
多个按钮提交Action <from name=”from” action=”” method=”post”> <input type=”text” name=”name” /> <input type=”text” name=”password” /> <br /> <input type=”button” value=”submit1” onclick=”javascript:document.from.action=’login’;document.from.submit();” /> </fr ...
Global site tag (gtag.js) - Google Analytics