<!-- 
RSS generated by JIRA (4.4#649-r158309) at Sun May 19 01:57:55 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/JDBC-31/JDBC-31.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[JDBC-31] distinct? throws clojure.lang.ArityException, when  applied with no arguments</title>
                <link>http://dev.clojure.org/jira/browse/JDBC-31</link>
                <project id="10021" key="JDBC">java.jdbc</project>
                        <description>&lt;p&gt;HSQLDB returns an empty ResultSet when using (.getGeneratedKeys stmt)&lt;br/&gt;
and no keys are generated. So this Exception is thrown for each record&lt;br/&gt;
without generated keys.&lt;/p&gt;

&lt;p&gt;While this Exception is caught in do-prepared-return-keys, this can lead to a huge overhead caused by the JVM exception handling. I did a performance test. &lt;/p&gt;

&lt;p&gt;Before Patch:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;clojure.java.test-jdbc&amp;gt; (time (sql/with-connection hsqldb-db (count (apply sql/insert-records :dummy  (map #(hash-map :name (str %) :id %) (range 10000))))))
&quot;Elapsed time: 3429.346743 msecs&quot;
10000
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After Patch:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt; clojure.java.test-jdbc&amp;gt; (time (sql/with-connection hsqldb-db (count (apply sql/insert-records :dummy  (map #(hash-map :name (str %) :id %) (range 10000))))))
&quot;Elapsed time: 1397.444753 msecs&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="15438">JDBC-31</key>
            <summary>distinct? throws clojure.lang.ArityException, when  applied with no arguments</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="seancorfield">Sean Corfield</assignee>
                                <reporter username="juergenhoetzel">J&#252;rgen H&#246;tzel</reporter>
                        <labels>
                        <label>patch,</label>
                        <label>performance</label>
                    </labels>
                <created>Sat, 12 May 2012 11:51:01 -0500</created>
                <updated>Sun, 10 Jun 2012 17:24:42 -0500</updated>
                    <resolved>Sun, 10 Jun 2012 17:24:42 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="28770" author="seancorfield" created="Sun, 10 Jun 2012 17:24:42 -0500"  >&lt;p&gt;Thanx for the patch!&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11208" name="0001-add-make-cols-unique-test-case-empty-cols.patch" size="906" author="juergenhoetzel" created="Sat, 12 May 2012 11:51:01 -0500" />
                    <attachment id="11209" name="0002-distinct-throws-clojure.lang.ArityException-when-app.patch" size="1576" author="juergenhoetzel" created="Sat, 12 May 2012 11:51:01 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10002">Code and Test</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>