[JDBC-21] Accept string URL as connection parameters Created: 17/Oct/11 Updated: 02/Nov/11 Resolved: 02/Nov/11 |
|
| Status: | Resolved |
| Project: | java.jdbc |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Enhancement | Priority: | Minor |
| Reporter: | Phil Hagelberg | Assignee: | Phil Hagelberg |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Patch: | Code and Test |
| Description |
|
Should support connection parameters in this style: (with-connection "postgres://user:password@host.com:port/db-name" [...]) |
| Comments |
| Comment by Phil Hagelberg [ 17/Oct/11 1:18 PM ] |
|
Talked this over with Sean on IRC; I'll put together a patch. |
| Comment by Phil Hagelberg [ 17/Oct/11 4:21 PM ] |
|
Implements said functionality. Patch depends upon supplied patch for |
| Comment by Phil Hagelberg [ 17/Oct/11 4:54 PM ] |
|
Hold off on this patch; apparently the scheme and subprotocol don't always match up. Will provide an updated patch. |
| Comment by Phil Hagelberg [ 17/Oct/11 6:00 PM ] |
|
This one should take care of the subprotocol issue; it also adds support for running the tests against postgres. |
| Comment by Sean Corfield [ 02/Nov/11 2:52 PM ] |
|
Patches applied - thank you! |