[JDBC-25] The classnames private var should be public Created: 07/Feb/12 Updated: 12/Feb/12 Resolved: 12/Feb/12
|Reporter:||Nicolas Buduroi||Assignee:||Sean Corfield|
I've got a bunch of integration/system tests in Lobos which are run over multiple target database. As I do not want to force all target drivers to be made as dev-dependencies, I check if the driver is available before running those tests. As long as the classname key is in the db-spec it's all fine, but now java.jdbc support db-spec with that key, it would be useful to have access to the classnames var for me, so it would be great to have it made public. This isn't a blocker as up till now I don't really need it, but I'm planning to add some tests for string based db-spec.
|Comment by Sean Corfield [ 12/Feb/12 4:21 AM ]|
Right now, that's in the internal namespace which is going away so I can't make it part of the API. You can always pull private vars out with @#'clojure.java.jdbc.internal/classnames but bear in mind that internal ns will merge with the parent ns soon!