On Jan 20, 2009, at 7:01 PM, Stephen C. Gilardi wrote:
I'd like for clojure.contrib.sql to support DataSource. As an alternative implementation, what do you think of db-spec allowing a :datasource key. If :datasource is specified, with-connection could use its value to acquire the connection, possibly along with :username and :password if they are specified. If not, it would connect using the jdbc URL parts as it does now.
I've checked in an implementation for this. I confirmed that it doesn't harm the jdbc url method of connecting, but I don't have a DataSource setup to test the DataSource method. Juergen, I'd appreciate hearing whether or not this works for you.
Thanks, --Steve
smime.p7s
Description: S/MIME cryptographic signature