<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed May 22 18:39:13 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-5/JDBC-5.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-5] Adding stropping and qualified identifiers to java.jdbc</title>
                <link>http://dev.clojure.org/jira/browse/JDBC-5</link>
                <project id="10021" key="JDBC">java.jdbc</project>
                        <description>&lt;p&gt;Following the following discussion:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://groups.google.com/d/topic/clojure/j7fXdkFMrec/discussion&quot;&gt;https://groups.google.com/d/topic/clojure/j7fXdkFMrec/discussion&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;ve implemented a simple stropping feature that also provide a way to supply qualified identifiers and a function (as-identifier) that can be reused in user code. The implementation can be found there:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/budu/java.jdbc/commit/0822d323cd4d267533a88241be68cb184ff9bf28&quot;&gt;https://github.com/budu/java.jdbc/commit/0822d323cd4d267533a88241be68cb184ff9bf28&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It&apos;s also attached to this issue.&lt;/p&gt;

&lt;p&gt;Here&apos;s some example of how that feature could be used:&lt;/p&gt;

&lt;p&gt;    user&amp;gt; (create-table :foo &lt;span class=&quot;error&quot;&gt;&amp;#91;:bar :integer&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;:baz :text&amp;#93;&lt;/span&gt;)&lt;br/&gt;
    &quot;CREATE TABLE foo (bar integer, baz text)&quot;&lt;br/&gt;
    user&amp;gt; (create-table &lt;span class=&quot;error&quot;&gt;&amp;#91;:schema :foo&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;:bar :integer&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;:baz :text&amp;#93;&lt;/span&gt;)&lt;br/&gt;
    &quot;CREATE TABLE schema.foo (bar integer, baz text)&quot;&lt;br/&gt;
    user&amp;gt; (with-stropping \&quot; identity (create-table &lt;span class=&quot;error&quot;&gt;&amp;#91;:schema :foo&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;:bar :integer&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;:baz :text&amp;#93;&lt;/span&gt;))&lt;br/&gt;
    &quot;CREATE TABLE \&quot;schema\&quot;.\&quot;foo\&quot; (\&quot;bar\&quot; integer, \&quot;baz\&quot; text)&quot;&lt;br/&gt;
    user&amp;gt; (with-stropping [[ ]] identity (create-table &lt;span class=&quot;error&quot;&gt;&amp;#91;:schema :foo&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;:bar :integer&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;:baz :text&amp;#93;&lt;/span&gt;))&lt;br/&gt;
    &quot;CREATE TABLE &lt;span class=&quot;error&quot;&gt;&amp;#91;schema&amp;#93;&lt;/span&gt;.&lt;span class=&quot;error&quot;&gt;&amp;#91;foo&amp;#93;&lt;/span&gt; (&lt;span class=&quot;error&quot;&gt;&amp;#91;bar&amp;#93;&lt;/span&gt; integer, &lt;span class=&quot;error&quot;&gt;&amp;#91;baz&amp;#93;&lt;/span&gt; text)&quot;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14404">JDBC-5</key>
            <summary>Adding stropping and qualified identifiers to java.jdbc</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</priority>
                    <status id="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="budu">Nicolas Buduroi</assignee>
                                <reporter username="budu">Nicolas Buduroi</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 Apr 2011 16:48:04 -0500</created>
                <updated>Sat, 9 Jul 2011 14:28:25 -0500</updated>
                    <resolved>Sat, 9 Jul 2011 14:28:24 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="26390" author="seancorfield" created="Sun, 24 Apr 2011 20:21:22 -0500"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://github.com/clojure/java.jdbc/issues/7&quot;&gt;https://github.com/clojure/java.jdbc/issues/7&lt;/a&gt; - thanx for the patch!&lt;/p&gt;</comment>
                    <comment id="26560" author="seancorfield" created="Sat, 9 Jul 2011 14:28:24 -0500"  >&lt;p&gt;with-naming-strategy, with-quoted-identifiers, as-quoted-str address this.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10198" name="0001-Added-the-with-stropping-macro-and-the-as-identifier.patch" size="6346" author="budu" created="Sun, 24 Apr 2011 16:48:04 -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="10001">Code</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10003" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                <customfieldname>Waiting On</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>seancorfield</customfieldvalue>
                </customfieldvalues>
            </customfield>
                            </customfields>
    </item>
</channel>
</rss>