[JDBC-32] with-connection does not accept standard jdbc URIs. Created: 18/May/12 Updated: 10/Jun/12 Resolved: 10/Jun/12 |
|
| Status: | Resolved |
| Project: | java.jdbc |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Defect | Priority: | Major |
| Reporter: | Tyler Jennings | Assignee: | Sean Corfield |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
clojure 1.4.0 |
||
| Description |
|
with-connect and other functions accepting a db-spec do not support standard jdbc uris, like this one: jdbc:mysql://localhost:3306/<database> In my environment passing that uri to yields an exception: Exception in thread "main" java.lang.NullPointerException This URI works fine, however: mysql://localhost:3306/<database> Is this intentional or a bug? Here's the mysql documentation for reference: http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html |
| Comments |
| Comment by Sean Corfield [ 10/Jun/12 5:48 PM ] |
|
It was a bug. Thanks for spotting that. |