摘要: 所谓事务是用户定义的一个操作序列,这些操作要么全做要么全不做,是一个不可分割的工作单位。 事务的开始与结束可以由用户显式控制。如果用户没有显式地定义事务,则由DBMS按缺省规定自动划分事务。在SQL语言中,定义事务的语句有三条: BEGIN TRANSACTION COMMIT ROL... 阅读全文
posted @ 2013-04-08 13:37 君子笑而不语 阅读(384) 评论(0) 推荐(0) 编辑
摘要: Today,I took an exercise about the -Xms main memory in jvm mechine.My english is very poor,fuck. Let's set -Xms=64M -Xmx=512MThen I open jconsole and listenning the pid in process.then we seethe follow picture.we see that while the value of main memory which is being aliving will get down when n 阅读全文
posted @ 2013-04-08 13:24 君子笑而不语 阅读(319) 评论(0) 推荐(0) 编辑
摘要: ellipse 过长 省略 阅读全文
posted @ 2013-04-08 13:20 君子笑而不语 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 此文记录Class文件中 类索引(this_class),父类索引(super_class),接口索引集合(interfaces)表示方法。 类索引,类索引 都是一个u2类型的数据,接口索引集合 是一组u2类型的数据集合(因为类是单继承,多实现)。例子:package cn.tao;public class TestClass { private int m; public int inc(int m){ return m+1; }}TestClass.class 内容如下(16进制查看)图1 图1中,从偏移地址0x000000CE开始3个u2类型的值0x0001,0x0003,0x0000, 阅读全文
posted @ 2013-04-08 13:15 君子笑而不语 阅读(223) 评论(0) 推荐(0) 编辑