Permalink
Browse files

Correctly propagate a Driver object to DriverDataSource

  • Loading branch information...
szeiger committed Sep 9, 2015
1 parent f4ec8ed commit dc1c5517ebe308bbd44b407a8fb14d6337ad6f71
Showing with 1 addition and 0 deletions.
  1. +1 −0 slick/src/main/scala/slick/jdbc/JdbcDataSource.scala
@@ -88,6 +88,7 @@ object DataSourceJdbcDataSource extends JdbcDataSourceFactory {
case None =>
val ds = new DriverDataSource
ds.classLoader = classLoader
ds.driverObject = driver
BeanConfigurator.configure(ds, c.toProperties, Set("url", "user", "password", "properties", "driver", "driverClassName"))
ds
}

0 comments on commit dc1c551

Please sign in to comment.