I have a situation where I am not in control of the type of DataSource I receive and cannot update the DataSource sent to me. I receive an Apache Commons BasicDataSource fro