摘要: 1.synchronized方法相当于synchronized(this) Synchronized 方法是锁的当前对象,同一个对象的2个synchronized方法被2个线程调用会发生阻塞; 2.static synchronized方法相当于synchronized(this.class) st 阅读全文
posted @ 2016-10-11 16:50 Mr.Liu08 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 有两种连接方式 1.Spring 引用 2.配置文件 3.代码 阅读全文
posted @ 2016-05-06 10:04 Mr.Liu08 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 1、创建 /*第1步:创建表空间 */create tablespace xybi datafile 'E:\oracle\oradata\zzxe\xybi_d01' size 100M ; /*第2步:创建临时表空间 */create temporary tablespace xybi_temp 阅读全文
posted @ 2016-05-03 21:56 Mr.Liu08 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 1.虚拟机: 选择桥接2.设置静态IP sudo vi /etc/network/interfaces 修改为: # The loopback network interface auto lo iface lo inet loopback # The primary network interfa 阅读全文
posted @ 2016-05-03 21:54 Mr.Liu08 阅读(220) 评论(0) 推荐(0) 编辑