Cast to java.sql.Driver fix