`
tanglei198577
  • 浏览: 59906 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
文章列表

Ext learning

Today,do some work with ext,have a simple knowledge for it,it is convenient to use,write a example for remembering. /** * This JS is used to provide the user details information. * * @author * @Date Mar 4, 2010 * */ Ext.apply(Ext.form.VTypes, { password: function(val, field) ...

batch execution

    博客分类:
  • java
Statement st = null; try{ conn.setAutoCommit(false); st = conn.createStatement(); for(int i=0;i<sqlBatch.length;i++){ st.addBatch(sqlBatch[i]); //commit per 500 sql sentences if(i!=0&&i%500==0){ st.executeBatch(); st.clearBatch(); conn.com ...
I will be back just for stay a few days no matter how difficult to buy the ticket no matter how far the journey is no matter how complicated the feelings is I just want be back stay with family to say something not important at all to see some old classmates to see some relatives that is eno ...
There are three files to complete this example:   RemoteFileClient.java   RemoteFileServer.java   ConnectionHandler.java the codes are: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import jav ...
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www ...
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www ...
I have give the comment in xml file: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx& ...
Note:this blog copied from: http://www.k99k.com/ ,if u reship it,pls note the resource. 在javascript中,对象实际上就是一个哈希表,比如下面这个user对象: function user(n, a) { this.name = n; this.age = a; this.toString = function() { return 'Name:' + this.name + ', Age:' + this.age; } } var ...
First,download a apache-ant-1.7.1 from apache site on network.then u need to config the "Path" of environment variables.If the ant unzip at E:\apache-ant-1.7.1,so u need add "E:\apache-ant-1.7.1\bin" to the path.then print the ant -version on cmd:       Apache Ant version 1.7.1 c ...
The trigger triggered when DML sentences executed,the steps are: 1)If there are before-triggers before the sentence,run these triggers. 2)For every row of the sentences that involved:    a.if there are before-triggers for each row,run these trigger.    b.execute this sentence    c.if there are a ...
 Oracle 9i共提供了16种标量数据类型表: 名称 含义 Char 用于描述定长的字符型数据,长度<=2000字节 varchar2 用于描述变长的字符型数据,长度<=4000字节 nchar 用来存储Unicode字符集的定长字符型数据,长度<=1000字节 nvarchar2 用来存储Unicode字符集的变长字符型数据,长度<=1000字节 number 用来存储整型或者浮点型数值 Date 用来存储日期数据 Long 用来存储最大长度为2GB的变长字符数据 Raw 用来 ...
When we want to update the info of some important tables,we can use the trigger,it can be triggered after we use some DML for some tables.here is the example of it: create or replace trigger UpdateMajorStats after insert or delete or update on students declare cursor c_Statistics is sele ...
There are three type of parameters of procedure,IN,OUT,IN OUT,here is the example: create or replace procedure ModeTest( p_InParameter in number, p_OutParameter out number, p_InOutParameter in out number ) is v_LocalVariable number:=0; begin if(p_InParameter is null) then dbms_outpu ...
The debug method three: we can use the debug tools of plsql developer,just like we debug our code in eclipse or vc.    create or replace package StudentFetch as type t_Students is table of students%rowtype index by binary_integer; --open the cursor for processing procedure OpenCurs ...
In order to use dbms_output.put_line to print the debug info on screen,we need to fix the procedure debug: create or replace package Debug as procedure Debug(p_Description in varchar2,p_Value in varchar2); procedure Reset; end Debug; create or replace package body Debug as --pro ...
Global site tag (gtag.js) - Google Analytics