<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Genius-Field &#187; Java Technology</title>
	<atom:link href="http://blog.genius-field.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.genius-field.com</link>
	<description>Your world starts from here</description>
	<lastBuildDate>Tue, 08 Feb 2011 06:02:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Genius-Field Database Connection Pool API 0.2(RC) Release</title>
		<link>http://blog.genius-field.com/2009/10/19/genius-field-database-connection-pool-api-0-2rc-release/</link>
		<comments>http://blog.genius-field.com/2009/10/19/genius-field-database-connection-pool-api-0-2rc-release/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 13:41:41 +0000</pubDate>
		<dc:creator>Icyfish</dc:creator>
				<category><![CDATA[Java Technology]]></category>

		<guid isPermaLink="false">http://blog.genius-field.com/?p=114</guid>
		<description><![CDATA[0.2-rc (2009-10-19) New features: Add a new method which can load properties from a variable instead of from a file Download dbcp-0.2-rc]]></description>
			<content:encoded><![CDATA[<p>0.2-rc (2009-10-19)<br />
New features:<br />
Add a new method which can load properties from a variable instead of from a file</p>
<p><strong>Download </strong><a href="http://blog.genius-field.com/wp-content/uploads/2009/10/dbcp-0.2-rc.zip"><strong>dbcp-0.2-rc</strong></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.genius-field.com%2F2009%2F10%2F19%2Fgenius-field-database-connection-pool-api-0-2rc-release%2F&amp;title=Genius-Field%20Database%20Connection%20Pool%20API%200.2%28RC%29%20Release" id="wpa2a_2"><img src="http://blog.genius-field.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.genius-field.com/2009/10/19/genius-field-database-connection-pool-api-0-2rc-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Genius-Field Database Connection Pool API 0.2(beta) Release</title>
		<link>http://blog.genius-field.com/2009/10/08/genius-field-database-connection-pool-api-0-2beta-release/</link>
		<comments>http://blog.genius-field.com/2009/10/08/genius-field-database-connection-pool-api-0-2beta-release/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 13:11:13 +0000</pubDate>
		<dc:creator>Icyfish</dc:creator>
				<category><![CDATA[Java Technology]]></category>

		<guid isPermaLink="false">http://blog.genius-field.com/?p=103</guid>
		<description><![CDATA[0.2-beta (2009-10-08) Bugfixes and minor changes: Fix an error which may throw IllegalMonitorStateException Download dbcp-0.2-beta]]></description>
			<content:encoded><![CDATA[<p>0.2-beta (2009-10-08)<br />
Bugfixes and minor changes:<br />
Fix an error which may throw <span style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium 'Times New Roman'; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: #000000; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span style="TEXT-ALIGN: justify; LINE-HEIGHT: 16px; FONT-FAMILY: 'Lucida Grande', Verdana, Arial, sans-serif; COLOR: #333333; FONT-SIZE: 12px">IllegalMonitorStateException</span></span></p>
<p><span style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium 'Times New Roman'; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: #000000; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span style="TEXT-ALIGN: justify; LINE-HEIGHT: 16px; FONT-FAMILY: 'Lucida Grande', Verdana, Arial, sans-serif; COLOR: #333333; FONT-SIZE: 12px"><strong>Download </strong><strong><a href="http://blog.genius-field.com/wp-content/uploads/2009/10/dbcp-0.2-beta.zip">dbcp-0.2-beta</a></strong></span></span></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.genius-field.com%2F2009%2F10%2F08%2Fgenius-field-database-connection-pool-api-0-2beta-release%2F&amp;title=Genius-Field%20Database%20Connection%20Pool%20API%200.2%28beta%29%20Release" id="wpa2a_4"><img src="http://blog.genius-field.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.genius-field.com/2009/10/08/genius-field-database-connection-pool-api-0-2beta-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Genius-Field Database Connection Pool API 0.2(alpha) Release</title>
		<link>http://blog.genius-field.com/2009/09/07/genius-field-database-connection-pool-api-0-2alpha-release/</link>
		<comments>http://blog.genius-field.com/2009/09/07/genius-field-database-connection-pool-api-0-2alpha-release/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 03:25:32 +0000</pubDate>
		<dc:creator>Icyfish</dc:creator>
				<category><![CDATA[Java Technology]]></category>

		<guid isPermaLink="false">http://blog.genius-field.com/?p=85</guid>
		<description><![CDATA[We are glad to inform you that our new version of Genius-Field Database Connection Pool is released. From now on, we will post the change logs here as well as the jar distribution and put other stuff on Google Code. &#8230; <a href="http://blog.genius-field.com/2009/09/07/genius-field-database-connection-pool-api-0-2alpha-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We are glad to inform you that our new version of Genius-Field Database Connection Pool is released. From now on, we will post the change logs here as well as the jar distribution and put other stuff on Google Code. You may visit <a href="http://code.google.com/p/dbconnectionpool/" target="_blank">here</a>.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">0.2-dev (2009-09-03)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">New features:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Initial release</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">0.2-alpha (2009-09-07)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Bugfixes and minor changes:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Compatible with JDK 1.5</div>
<p>0.2-dev (2009-09-03)</p>
<p>New features:</p>
<p>Initial release</p>
<p><strong>Download </strong><a href="http://blog.genius-field.com/wp-content/uploads/2009/09/dbcp-0.2-dev.zip"><strong>dbcp-0.2-dev</strong></a></p>
<p>0.2-alpha (2009-09-07)</p>
<p>Bugfixes and minor changes:</p>
<p>Compatible with JDK 1.5</p>
<p><strong>Download </strong><a href="http://blog.genius-field.com/wp-content/uploads/2009/09/dbcp-0.2-alpha.zip"><strong>dbcp-0.2-alpha</strong></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.genius-field.com%2F2009%2F09%2F07%2Fgenius-field-database-connection-pool-api-0-2alpha-release%2F&amp;title=Genius-Field%20Database%20Connection%20Pool%20API%200.2%28alpha%29%20Release" id="wpa2a_6"><img src="http://blog.genius-field.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.genius-field.com/2009/09/07/genius-field-database-connection-pool-api-0-2alpha-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Genius-Field Database Connection Pool API Coming Soon</title>
		<link>http://blog.genius-field.com/2009/08/01/new-genius-field-database-connection-pool-api-coming-soon/</link>
		<comments>http://blog.genius-field.com/2009/08/01/new-genius-field-database-connection-pool-api-coming-soon/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 10:29:00 +0000</pubDate>
		<dc:creator>Icyfish</dc:creator>
				<category><![CDATA[Java Technology]]></category>

		<guid isPermaLink="false">http://blog.genius-field.com/?p=78</guid>
		<description><![CDATA[We are developing new version of Genius-Field Database Connection Pool in order to make it more stable and efficient. In the new version, the entire structure will be changed and it hopefully will be easy to use and easy to &#8230; <a href="http://blog.genius-field.com/2009/08/01/new-genius-field-database-connection-pool-api-coming-soon/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We are developing new version of Genius-Field Database Connection Pool in order to make it more stable and efficient. In the new version, the entire structure will be changed and it hopefully will be easy to use and easy to control.</p>
<p>We are not going to make any updates for the old API and the new version will be open-source and hosted on Google Code under <a rel="nofollow" href="http://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License v3</a>. We have already created the project home on Google Code, but nothing in it. You may visit <a href="http://code.google.com/p/dbconnectionpool/" target="_blank">here</a> if you like. There is no ETA for the new version release. We will make announcement when it arrives.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.genius-field.com%2F2009%2F08%2F01%2Fnew-genius-field-database-connection-pool-api-coming-soon%2F&amp;title=New%20Genius-Field%20Database%20Connection%20Pool%20API%20Coming%20Soon" id="wpa2a_8"><img src="http://blog.genius-field.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.genius-field.com/2009/08/01/new-genius-field-database-connection-pool-api-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Genius-Field Database Connection Pool API 0.1 Release</title>
		<link>http://blog.genius-field.com/2009/04/28/genius-field-database-connection-pool-api-01-release/</link>
		<comments>http://blog.genius-field.com/2009/04/28/genius-field-database-connection-pool-api-01-release/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 05:04:45 +0000</pubDate>
		<dc:creator>Icyfish</dc:creator>
				<category><![CDATA[Java Technology]]></category>

		<guid isPermaLink="false">http://blog.genius-field.com/?p=64</guid>
		<description><![CDATA[New features: Allow user to release all conns at one time Allow user to watch some basic status of the connection pool Allow user to manually drop a conn if it works abnormally Bugfixes and minor changes: Fix the number &#8230; <a href="http://blog.genius-field.com/2009/04/28/genius-field-database-connection-pool-api-01-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>New features:<br />
Allow user to release all conns at one time<br />
Allow user to watch some basic status of the connection pool<br />
Allow user to manually drop a conn if it works abnormally</p>
<p>Bugfixes and minor changes:<br />
Fix the number of conns may be less than the minimum requirement</p>
<p><strong>Download </strong><a href="http://blog.genius-field.com/wp-content/uploads/2009/04/sql-01.zip"><strong>sql-01</strong></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.genius-field.com%2F2009%2F04%2F28%2Fgenius-field-database-connection-pool-api-01-release%2F&amp;title=Genius-Field%20Database%20Connection%20Pool%20API%200.1%20Release" id="wpa2a_10"><img src="http://blog.genius-field.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.genius-field.com/2009/04/28/genius-field-database-connection-pool-api-01-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Further study on duplicate elements of HashSet</title>
		<link>http://blog.genius-field.com/2009/04/22/further-study-on-duplicate-elements-of-hashset/</link>
		<comments>http://blog.genius-field.com/2009/04/22/further-study-on-duplicate-elements-of-hashset/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 13:30:50 +0000</pubDate>
		<dc:creator>Icyfish</dc:creator>
				<category><![CDATA[Java Technology]]></category>

		<guid isPermaLink="false">http://blog.genius-field.com/?p=40</guid>
		<description><![CDATA[In mathematics, it is trivial to check duplicate elements because the properties of an element are simple. It may just contain numbers, letters, and colors and so on. However, it is complicated to check whether two elements (objects) are the &#8230; <a href="http://blog.genius-field.com/2009/04/22/further-study-on-duplicate-elements-of-hashset/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In mathematics, it is trivial to check duplicate elements because the properties of an element are simple. It may just contain numbers, letters, and colors and so on. However, it is complicated to check whether two elements (objects) are the &#8220;same&#8221; in computer programming.<br />
In Java language, the Set interface is defined as &#8220;A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1 and e2 such that e1.equals(e2), and at most one null element&#8221;. The HashSet class implements the Set interface. How does it check? Does it really use equals method? Let&#8217;s have a look.<span id="more-40"></span><br />
We may first think there&#8217;re two ways to check the equality of two objects: using &#8220;=&#8221; operation or using equals method. The former is checked by the addresses of two objects. If they refer to the same address, they are equal. The latter usually returns the same result as &#8220;=&#8221; operation, but many classes override this method so that we may get different result. To be mentioned, hashCode method is also used here. Let&#8217;s see what actually happens.<br />
We write a class and override both equals method and hashCode method. The equals method can return true or false and the hashCode method may return the same or two different integers on two objects. So, there&#8217;re four combinations:<br />
1. true same<br />
2. true different<br />
3. false same<br />
4. false different<br />
We create two instances of the class and put them into a HashSet. Then change the combination one by one to see how they influence the result of HashSet, and the corresponding results are listed below:<br />
1. one element<br />
2. two elements<br />
3. two elements<br />
4. two elements<br />
Hence, we may conclude that two objects are the &#8220;same&#8221; if and only if hashCodes are equal and equals method return true.</p>
<p>Actually, this is part of the right answer.<br />
Now, we look into the source of JDK to see the truth.</p>
<p>The add method in HashSet:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">transient</span> HashMap<span style="color: #339933;">&lt;</span>E,Object<span style="color: #339933;">&gt;</span> map<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">boolean</span> add<span style="color: #009900;">&#40;</span>E e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">return</span> map.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span>e, PRESENT<span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span><span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>We know from documentation that &#8220;This class(HashSet) implements the Set interface, backed by a hash table (actually a HashMap instance)&#8221;. So, it invokes the put method in HashMap. We trace into it and find:</p>
<p>The put method in HashMap:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> V put<span style="color: #009900;">&#40;</span>K key, V value<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>key <span style="color: #339933;">==</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
        <span style="color: #000000; font-weight: bold;">return</span> putForNullKey<span style="color: #009900;">&#40;</span>value<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">int</span> hash <span style="color: #339933;">=</span> hash<span style="color: #009900;">&#40;</span>key.<span style="color: #006633;">hashCode</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> indexFor<span style="color: #009900;">&#40;</span>hash, table.<span style="color: #006633;">length</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>Entry<span style="color: #339933;">&lt;</span>K,V<span style="color: #339933;">&gt;</span> e <span style="color: #339933;">=</span> table<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> e <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span> e <span style="color: #339933;">=</span> e.<span style="color: #006633;">next</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #003399;">Object</span> k<span style="color: #339933;">;</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>e.<span style="color: #006633;">hash</span> <span style="color: #339933;">==</span> hash <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>k <span style="color: #339933;">=</span> e.<span style="color: #006633;">key</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> key <span style="color: #339933;">||</span> key.<span style="color: #006633;">equals</span><span style="color: #009900;">&#40;</span>k<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            V oldValue <span style="color: #339933;">=</span> e.<span style="color: #006633;">value</span><span style="color: #339933;">;</span>
            e.<span style="color: #006633;">value</span> <span style="color: #339933;">=</span> value<span style="color: #339933;">;</span>
            e.<span style="color: #006633;">recordAccess</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000000; font-weight: bold;">return</span> oldValue<span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    modCount<span style="color: #339933;">++;</span>
    addEntry<span style="color: #009900;">&#40;</span>hash, key, value, i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Pay attention to the key statement &#8220;if (e.hash == hash &amp;&amp; ((k = e.key) == key || key.equals(k)))&#8221;. From this sentence, we can know the truth:<br />
Two objects are the &#8220;same&#8221; when they satisfy both of the following conditions:<br />
1. hashCode are the same<br />
2. They refer to the same address or equals method returns true</p>
<p>You may look up the source of TreeSet or other sets to see how they check duplicate elements. They differ from each other.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.genius-field.com%2F2009%2F04%2F22%2Ffurther-study-on-duplicate-elements-of-hashset%2F&amp;title=Further%20study%20on%20duplicate%20elements%20of%20HashSet" id="wpa2a_12"><img src="http://blog.genius-field.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.genius-field.com/2009/04/22/further-study-on-duplicate-elements-of-hashset/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Genius-Field Database Connection Pool API 0.1(RC) Release</title>
		<link>http://blog.genius-field.com/2009/04/15/genius-field-database-connection-pool-api-01rc-release/</link>
		<comments>http://blog.genius-field.com/2009/04/15/genius-field-database-connection-pool-api-01rc-release/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 10:13:39 +0000</pubDate>
		<dc:creator>Icyfish</dc:creator>
				<category><![CDATA[Java Technology]]></category>

		<guid isPermaLink="false">http://blog.genius-field.com/?p=13</guid>
		<description><![CDATA[New features: Allow user to specify when the Conn will be recycled automatically if one does NOT explicitly invoke freeCon() Throw general java exceptions and Genius-Field exceptions for easy debug Bugfixes and minor changes: Provide default values for the properties &#8230; <a href="http://blog.genius-field.com/2009/04/15/genius-field-database-connection-pool-api-01rc-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>New features:<br />
Allow user to specify when the Conn will be recycled automatically if one does NOT explicitly invoke freeCon()<br />
Throw general java exceptions and Genius-Field exceptions for easy debug</p>
<p>Bugfixes and minor changes:<br />
Provide default values for the properties file<br />
Fix getConn() may return null</p>
<p><strong>Download </strong><a href="http://blog.genius-field.com/wp-content/uploads/2009/04/sql-01-rc.zip"><strong>sql-01-rc</strong></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.genius-field.com%2F2009%2F04%2F15%2Fgenius-field-database-connection-pool-api-01rc-release%2F&amp;title=Genius-Field%20Database%20Connection%20Pool%20API%200.1%28RC%29%20Release" id="wpa2a_14"><img src="http://blog.genius-field.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.genius-field.com/2009/04/15/genius-field-database-connection-pool-api-01rc-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Genius-Field Database Connection Pool API 0.1(beta) Release</title>
		<link>http://blog.genius-field.com/2009/04/12/genius-field-database-connection-pool-api-01beta-release/</link>
		<comments>http://blog.genius-field.com/2009/04/12/genius-field-database-connection-pool-api-01beta-release/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 10:47:10 +0000</pubDate>
		<dc:creator>Icyfish</dc:creator>
				<category><![CDATA[Java Technology]]></category>

		<guid isPermaLink="false">http://blog.genius-field.com/?p=6</guid>
		<description><![CDATA[New features: Initial beta release Allow user to specify the path of properties file Allow user to specify the class name of jdbc connector Change package name gaccount.sql to com.geniusfield.sql Change method name Conn.getConn() to Conn.getCon() to avoid confusion Bugfixes &#8230; <a href="http://blog.genius-field.com/2009/04/12/genius-field-database-connection-pool-api-01beta-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>New features:<br />
Initial beta release<br />
Allow user to specify the path of properties file<br />
Allow user to specify the class name of jdbc connector<br />
Change package name gaccount.sql to com.geniusfield.sql<br />
Change method name Conn.getConn() to Conn.getCon() to avoid confusion</p>
<p>Bugfixes and minor changes:<br />
Properties file isn&#8217;t closed after being used<br />
Call Class.forName() method in case of old JDKs</p>
<p><strong>Download </strong><a href="http://blog.genius-field.com/wp-content/uploads/2009/04/sql-01-beta.zip"><strong>sql-01-beta</strong></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.genius-field.com%2F2009%2F04%2F12%2Fgenius-field-database-connection-pool-api-01beta-release%2F&amp;title=Genius-Field%20Database%20Connection%20Pool%20API%200.1%28beta%29%20Release" id="wpa2a_16"><img src="http://blog.genius-field.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.genius-field.com/2009/04/12/genius-field-database-connection-pool-api-01beta-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

