<!-- 
RSS generated by JIRA (4.4#649-r158309) at Thu May 23 03:36:26 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-32/JDBC-32.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-32] with-connection does not accept standard jdbc URIs.  </title>
                <link>http://dev.clojure.org/jira/browse/JDBC-32</link>
                <project id="10021" key="JDBC">java.jdbc</project>
                        <description>&lt;p&gt;with-connect and other functions accepting a db-spec do not support standard jdbc uris, like this one: &lt;/p&gt;

&lt;p&gt;jdbc:mysql://localhost:3306/&amp;lt;database&amp;gt;&lt;/p&gt;

&lt;p&gt;In my environment passing that uri to yields an exception: &lt;/p&gt;

&lt;p&gt;Exception in thread &quot;main&quot; java.lang.NullPointerException&lt;br/&gt;
	at java.lang.Class.forName0(Native Method)&lt;br/&gt;
	at java.lang.Class.forName(Class.java:247)&lt;br/&gt;
	at clojure.lang.RT.loadClassForName(RT.java:2050)&lt;br/&gt;
	at clojure.java.jdbc$get_connection.invoke(jdbc.clj:175)&lt;br/&gt;
	at clojure.java.jdbc$get_connection.invoke(jdbc.clj:166)&lt;br/&gt;
	at clojure.java.jdbc$get_connection.invoke(jdbc.clj:168)&lt;br/&gt;
	at clojure.java.jdbc$with_connection_STAR_.invoke(jdbc.clj:299)&lt;br/&gt;
	at bungle_o.migration$create_exceptions.invoke(migration.clj:17)&lt;br/&gt;
	at bungle_o.migration$_main.invoke(migration.clj:21)&lt;br/&gt;
	at clojure.lang.Var.invoke(Var.java:411)&lt;br/&gt;
	at user$eval191.invoke(NO_SOURCE_FILE:1)&lt;br/&gt;
	at clojure.lang.Compiler.eval(Compiler.java:6511)&lt;br/&gt;
	at clojure.lang.Compiler.eval(Compiler.java:6501)&lt;br/&gt;
	at clojure.lang.Compiler.eval(Compiler.java:6477)&lt;br/&gt;
	at clojure.core$eval.invoke(core.clj:2797)&lt;br/&gt;
	at clojure.main$eval_opt.invoke(main.clj:297)&lt;br/&gt;
	at clojure.main$initialize.invoke(main.clj:316)&lt;br/&gt;
	at clojure.main$null_opt.invoke(main.clj:349)&lt;br/&gt;
	at clojure.main$main.doInvoke(main.clj:427)&lt;br/&gt;
	at clojure.lang.RestFn.invoke(RestFn.java:421)&lt;br/&gt;
	at clojure.lang.Var.invoke(Var.java:419)&lt;br/&gt;
	at clojure.lang.AFn.applyToHelper(AFn.java:163)&lt;br/&gt;
	at clojure.lang.Var.applyTo(Var.java:532)&lt;br/&gt;
	at clojure.main.main(main.java:37)&lt;/p&gt;

&lt;p&gt;This URI works fine, however: &lt;/p&gt;

&lt;p&gt;mysql://localhost:3306/&amp;lt;database&amp;gt;&lt;/p&gt;

&lt;p&gt;Is this intentional or a bug? &lt;/p&gt;

&lt;p&gt;Here&apos;s the mysql documentation for reference: &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html&quot;&gt;http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html&lt;/a&gt;&lt;/p&gt;</description>
                <environment>clojure 1.4.0&lt;br/&gt;
clojure.java.jdbc 0.2.1</environment>
            <key id="15454">JDBC-32</key>
            <summary>with-connection does not accept standard jdbc URIs.  </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="tyler_jennings">Tyler Jennings</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 May 2012 07:41:28 -0500</created>
                <updated>Sun, 10 Jun 2012 17:48:51 -0500</updated>
                    <resolved>Sun, 10 Jun 2012 17:48:51 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="28771" author="seancorfield" created="Sun, 10 Jun 2012 17:48:51 -0500"  >&lt;p&gt;It was a bug. Thanks for spotting that.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </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>