<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qjhare的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/qjhare</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; qjhare]]></copyright><item><title><![CDATA[多线程CountDownLatch用法]]></title><link>https://blog.youkuaiyun.com/qjhare/article/details/8450237</link><guid>https://blog.youkuaiyun.com/qjhare/article/details/8450237</guid><author>qjhare</author><pubDate>Sat, 29 Dec 2012 13:19:39 +0800</pubDate><description><![CDATA[CountDownLatch，一个同步辅助类，在完成一组正在其他线程中执行的操作之前，它允许一个或多个线程一直等待。
主要方法
 public CountDownLatch(int count);
 public void countDown();
 public void await() throws InterruptedException
 
构造方法参数指定了计数的次数
co]]></description><category></category></item><item><title><![CDATA[Hibernate4的buildSessionFactory过时]]></title><link>https://blog.youkuaiyun.com/qjhare/article/details/8272356</link><guid>https://blog.youkuaiyun.com/qjhare/article/details/8272356</guid><author>qjhare</author><pubDate>Sat, 08 Dec 2012 12:57:55 +0800</pubDate><description><![CDATA[今天想用Hibernate4时候发现原先的buildSessionFactory已经过时，百度谷歌API得之解决方案
原先是：
static {
		Configuration cfg = new Configuration();
		cfg.configure();
		sessionFactory = cfg.buildSessionFactory();
	}
改为：
static {]]></description><category></category></item><item><title><![CDATA[MySQL中UNION和UNION ALL的使用]]></title><link>https://blog.youkuaiyun.com/qjhare/article/details/8266070</link><guid>https://blog.youkuaiyun.com/qjhare/article/details/8266070</guid><author>qjhare</author><pubDate>Thu, 06 Dec 2012 17:10:19 +0800</pubDate><description><![CDATA[在数据库中，UNION和UNION ALL关键字都是将两个结果集合并为一个，但这两者从使用和效率上来说都有所不同。
MySQL中的UNION
UNION在进行表链接后会筛选掉重复的记录，所以在表链接后会对所产生的结果集进行排序运算，删除重复的记录再返回结果。实际大部分应用中是不会产生重复的记录，最常见的是过程表与历史表UNION。如：

select * from gc_dfys unio]]></description><category></category></item></channel></rss>