You should be able to use com.microsoft.sqlserver.jdbc.SQLServerDataSource. The error youare seeing for setUrl is caused by a simple capitalization issue, the method is setURL() so the
datasource property would be URL instead of Url. However, with a DataSource the URL is
entirely optional and you can do everything through properties ... which I find clearer to read.
See this example for initializing the DataSource solely through properties:
Essentually, drop the 'set' off of any setter to use it as a property in HikariCP.