Currently, the JtdsDataSource does have capability to use a connection URL as a configuration, however that feature is present in the code via Driver.getConnection().
Design of our tool creates data sources at the start, which hand out the connections. To create OracleDataSource all I have to do is call setURL() with connection string and set user and password, but with jTDS I would have to parse the connection URL manually.
Would it be possible to add this functionality to the DataSource class?
I've made the necessary changes (against 1.3 stable branch) and it's mostly existing code. I've also tested it in my app and wrote three quick unit tests. I will attach the patch.
I would really appreciate if we could get this in. Let me know if there is anything I can help with.
Anonymous