<< Back to previous view

[JDBC-25] The classnames private var should be public Created: 07/Feb/12  Updated: 12/Feb/12  Resolved: 12/Feb/12

Status: Resolved
Project: java.jdbc
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Trivial
Reporter: Nicolas Buduroi Assignee: Sean Corfield
Resolution: Declined Votes: 0
Labels: None


 Description   

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.



 Comments   
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!

Generated at Thu Oct 30 13:29:01 CDT 2014 using JIRA 4.4#649-r158309.