spring-framework / org.springframework.jdbc.datasource / SimpleDriverDataSource / setDriver

setDriver

open fun setDriver(@Nullable driver: Driver): Unit

Specify the JDBC Driver instance to use.

This allows for passing in a shared, possibly pre-configured Driver instance.

See Also
#setDriverClass