A buffer is a linear, finite sequence of elements of a specific primitive type. Aside from its content, the essential properties of a buffer are its c Read More
posted @ 2014-07-21 19:58 等风来。。 Views(277) Comments(0) Diggs(0) Edit
两个线程,一个输出1,3,5,7......99;另一个输出2,4,6,8......100。1.线程同步 1 public class ST2 { 2 int i = 0; 3 4 public static void main(String[] args) { 5 ... Read More
posted @ 2014-07-21 17:39 等风来。。 Views(1418) Comments(0) Diggs(0) Edit
select a.* from A awhere exists ( select 1 from B b where a.id=b.id ) 1 public List exist(){ 2 List result; 3 Array A=(select * from A) 4 5 for... Read More
posted @ 2014-07-21 16:25 等风来。。 Views(219) Comments(0) Diggs(0) Edit
触发器主要是通过事件进行触发而被执行的,而存储过程可以通过存储过程名字而被直接调用。当对某一表进行诸如UPDATE、 INSERT、 DELETE 这些操作时, 就会自动执行触发器所定义的SQL 语句,从而确保对数据的处理必须符合由这些SQL 语句所定义的规则。触发器的主要作用就是其能够实现由主... Read More
posted @ 2014-07-21 15:58 等风来。。 Views(165) Comments(0) Diggs(0) Edit
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------