<!--
RSS generated by JIRA (4.4#649-r158309) at Fri May 24 05:34:36 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/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+JDBC+AND+resolutiondate+%3E%3D-1w+ORDER+BY+updated+DESC&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://dev.clojure.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Clojure JIRA</title>
        <link>http://dev.clojure.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+JDBC+AND+resolutiondate+%3E%3D-1w+ORDER+BY+updated+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="2" total="2"/>
                <build-info>
            <version>4.4</version>
            <build-number>649</build-number>
            <build-date>25-07-2011</build-date>
        </build-info>
<item>
            <title>[JDBC-55] More reflection warnings to investigate</title>
                <link>http://dev.clojure.org/jira/browse/JDBC-55</link>
                <project id="10021" key="JDBC">java.jdbc</project>
                        <description>&lt;p&gt;Reflection warning, clojure/java/jdbc.clj:618:50 - reference to field executeQuery can&apos;t be resolved.&lt;br/&gt;
Reflection warning, clojure/java/jdbc.clj:618:33 - reference to field close can&apos;t be resolved.&lt;/p&gt;</description>
                <environment></environment>
            <key id="16187">JDBC-55</key>
            <summary>More reflection warnings to investigate</summary>
                <type id="3" iconUrl="http://dev.clojure.org/jira/images/icons/task.gif">Task</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="seancorfield">Sean Corfield</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 May 2013 20:04:54 -0500</created>
                <updated>Tue, 21 May 2013 10:08:02 -0500</updated>
                    <resolved>Tue, 21 May 2013 10:08:02 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="31092" author="jafingerhut" created="Wed, 15 May 2013 10:34:01 -0500"  >&lt;p&gt;Patch jdbc-55-fix-reflection-warnings-v1.txt dated May 15 2013 adds one more type hint that eliminates the two mentioned instances of reflection.&lt;/p&gt;</comment>
                    <comment id="31127" author="seancorfield" created="Tue, 21 May 2013 10:08:02 -0500"  >&lt;p&gt;Patch applied. Thank you!&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11992" name="jdbc-55-fix-reflection-warnings-v1.txt" size="1086" author="jafingerhut" created="Wed, 15 May 2013 10:34: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>
                                                                                        </customfields>
    </item>

<item>
            <title>[JDBC-57] Better support for Oracle</title>
                <link>http://dev.clojure.org/jira/browse/JDBC-57</link>
                <project id="10021" key="JDBC">java.jdbc</project>
                        <description>&lt;p&gt;This is just a suggestion, and i am not sure if it is the right way to do this. &lt;/p&gt;

&lt;p&gt;When fetching data from Oracle the oracle jdbc driver returns all the numeric type columns as BigDecimal and date/datetime columns as oracle.sql.TIMESTAMP. This causes a lot of headache as we have to remember to convert the data to the correct type. &lt;/p&gt;

&lt;p&gt;Although, this can be handled at the application level by using a :row-fn, it would be really nice if this library handles the conversion itself.&lt;/p&gt;
</description>
                <environment>Oracle 10g and above</environment>
            <key id="16190">JDBC-57</key>
            <summary>Better support for Oracle</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</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="hmanish79@gmail.com">Manish Handa</reporter>
                        <labels>
                    </labels>
                <created>Sat, 18 May 2013 13:49:57 -0500</created>
                <updated>Mon, 20 May 2013 22:52:57 -0500</updated>
                    <resolved>Mon, 20 May 2013 22:52:57 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="31108" author="hmanish79@gmail.com" created="Sat, 18 May 2013 14:10:52 -0500"  >&lt;p&gt;Patch for handling results returned by oracle jdbc thin driver&lt;/p&gt;</comment>
                    <comment id="31116" author="seancorfield" created="Sun, 19 May 2013 13:44:41 -0500"  >&lt;p&gt;I think the right solution here will be to modify the result-set-read-column protocol function to be passed rsmeta and i and then Oracle users can extend the protocol to those types and perform the conversions they want. I don&apos;t believe automcatically converting BigDecimal is going to be the right choice for all users although doing the conversion for oracle.sql.TIMESTAMP is a more arguable conversion.&lt;/p&gt;</comment>
                    <comment id="31119" author="hmanish79@gmail.com" created="Mon, 20 May 2013 09:57:11 -0500"  >&lt;p&gt;Agreed. I thought of this, but it requires changing the protocol to take rsmeta along with the column index. i have uploaded another patch for this change.&lt;/p&gt;

&lt;p&gt;Also, it&apos;ll be better to leave the handling of oracle.sql.Timestamp to the application as it needs a dependency on the oracle thin driver (which we should certainly not add to java.jdbc). &lt;/p&gt;

&lt;p&gt;So, after this updated protocol, the oracle users can extend it with something like this (much better now):&lt;/p&gt;

&lt;p&gt;;;; Oracle users can define this in their applications&lt;br/&gt;
;; to extend it to BigDecimal and other oracle types&lt;br/&gt;
(extend-protocol IResultSetReadColumn&lt;br/&gt;
     oracle.sql.TIMESTAMP&lt;br/&gt;
     (result-set-read-column &lt;span class=&quot;error&quot;&gt;&amp;#91;x _ _&amp;#93;&lt;/span&gt; (.timestampValue x))&lt;/p&gt;

&lt;p&gt;     java.math.BigDecimal&lt;br/&gt;
     (result-set-read-column &lt;span class=&quot;error&quot;&gt;&amp;#91;val rsmeta idx&amp;#93;&lt;/span&gt;&lt;br/&gt;
       (if-not (= (.getScale rsmeta idx) 0)&lt;br/&gt;
          (.doubleValue val) ;;; reals&lt;br/&gt;
          (if (= (.getPrecision rsmeta idx) 1)&lt;br/&gt;
              (= 1 (.longValue val)) ;;; booleans&lt;br/&gt;
              (.longValue val))))) ;; integrals&lt;/p&gt;</comment>
                    <comment id="31120" author="seancorfield" created="Mon, 20 May 2013 10:45:24 -0500"  >&lt;p&gt;Thanx. Yes, that was where I was going with this, and while we&apos;re in alpha for 0.3.0 I&apos;m not averse to changing the signatures of new stuff introduced in the API rewrite. I&apos;ll review the patch later and probably roll it in this week (I just got back from a web tech conference in MN and I&apos;m busy catching up on work!).&lt;/p&gt;</comment>
                    <comment id="31123" author="seancorfield" created="Mon, 20 May 2013 22:52:57 -0500"  >&lt;p&gt;Patch applied. Tests updated to match&lt;img class=&quot;emoticon&quot; src=&quot;http://dev.clojure.org/jira/images/icons/emoticons/warning.gif&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;. Will be in 0.3.0-alpha5.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11999" name="datatype.patch" size="2024" author="hmanish79@gmail.com" created="Mon, 20 May 2013 09:57:34 -0500" />
                    <attachment id="11997" name="oracle-fix.patch" size="2172" author="hmanish79@gmail.com" created="Sat, 18 May 2013 14:10:52 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>