Live data from Hacker News

Open Sourcing the Microsoft JDBC Driver and Maven Support

blogs.msdn.microsoft.com

21–30 of 48 posts

Re: Open Sourcing the Microsoft JDBC Driver and Maven Support

#21
Yay... Isnt everyone using jTDS anyway because it is reliably faster?

https://social.msdn.microsoft.com/Forums/en-US/36e7b9cf-5bc5...

http://stackoverflow.com/questions/7848213/why-is-jtds-faste...

Edit: seems like they fixed their abysmal performance after 5years in jan 2016; see stackoverflow comment.

Re: Open Sourcing the Microsoft JDBC Driver and Maven Support

#22
post #21

Yay... Isnt everyone using jTDS anyway because it is reliably faster? https://social.msdn.microsoft.com/Forums/en-US/36e7b9cf-5bc5... http://stackoverflow.com/questions/7848213/why-is-jtds-faste... Edit: seems like they fixed their abysmal performance after 5years in jan 2016; see stackoverflow comment.

The jTDS project is dying, there has not been a new release in over 3 years despite some pretty significant bugs.

https://sourceforge.net/p/jtds/discussion/129584/thread/050f...

Re: Open Sourcing the Microsoft JDBC Driver and Maven Support

#23

First off kudos to microsoft for open sourcing their JDBC driver. I would have figured microsoft would have used a linter to fix style issues with their code before Open Sourcing. E.x: https://github.com/Microsoft/mssql-jdbc/blob/master/src/main... Anyone know if microsoft is going to specify their java style guide.

Microsoft is a tech company just like many others. You can nitpick all you want but all companies have imperfect code and it is normal.

Sure. I don't fault them. Just curious that Microsoft doesn't force a linter on devs. At google we generally force style guide compliance.

Re: Open Sourcing the Microsoft JDBC Driver and Maven Support

#25
post #4
post #2

Yay! Just… Yay! Now it's your turn, Oracle.

> Now it's your turn, Oracle. That'll never happen. They're too busy trying to make the open source projects they inherited from Sun (MySQL, Java) closed source again.

Doing good job there. MySql dead. Java bloated in politics...

Re: Open Sourcing the Microsoft JDBC Driver and Maven Support

#26
post #18
post #17

How did people use this before if it wasn't in the Maven Central Repo? I know it's possible to not use mvn, just wondering what people did in cases like this where a possibly major component in the stack was unavailable. Most big stuff in Java can be found in mvn, and if not we often end up using an alternative. But that's not so easy for a driver.

Run a company maven repo. Make an internal maven plugin with what you need and add it to the company repo.

Or just have a bash script that installs it to the local Maven repository first.

Not recommended, but plenty of folks do it.

Re: Open Sourcing the Microsoft JDBC Driver and Maven Support

#27
post #4

Earlier quoted context omitted.

> Now it's your turn, Oracle. That'll never happen. They're too busy trying to make the open source projects they inherited from Sun (MySQL, Java) closed source again.

Doing good job there. MySql dead. Java bloated in politics...

Java started out bloated in politics, so I don't know if it is fair to blame Oracle for that.

Still not totally happy with their direction on Java

Re: Open Sourcing the Microsoft JDBC Driver and Maven Support

#28
post #21

Yay... Isnt everyone using jTDS anyway because it is reliably faster? https://social.msdn.microsoft.com/Forums/en-US/36e7b9cf-5bc5... http://stackoverflow.com/questions/7848213/why-is-jtds-faste... Edit: seems like they fixed their abysmal performance after 5years in jan 2016; see stackoverflow comment.

Recently I had an issue with connection timeouts in my connection pool when using the jTDS driver to connect to the Azure SQL Server service. When I switched to Microsofts updated JDBC driver, that problem was solved immediately.

Re: Open Sourcing the Microsoft JDBC Driver and Maven Support

#29
post #21

Yay... Isnt everyone using jTDS anyway because it is reliably faster? https://social.msdn.microsoft.com/Forums/en-US/36e7b9cf-5bc5... http://stackoverflow.com/questions/7848213/why-is-jtds-faste... Edit: seems like they fixed their abysmal performance after 5years in jan 2016; see stackoverflow comment.

jTDS doesn't seem to support figuring out parameter types from a statement, but the MS one does, so we use that instead

Re: Open Sourcing the Microsoft JDBC Driver and Maven Support

#30
post #12
post #9

Finally! Having dealt with many database drivers over the years, I can say first hand that closed source drivers are the bane of my existence. The only thing worse than running into a deep-in-the-stack bug in a database driver is one that you can't correct, let alone debug properly. Regardless of your views on closed source software on the server side of things, it's a disservice to your customers to not have open so…

> the bane of my existence This reminds me far too much of the .NET DB2 drivers. What a steaming pile, not to mention having to navigate the labyrinth of the IBM download site to even find it in the first place.

You know what's worse? DB2 for iSeries. Pisses me off to no end that pulling JTOpen from Maven is crazy easy, but if you want to access your data from any other language prepare to shell out thousands of dollars for "DB2 Connect" (per server!) because it's totally incomprehensible that even though you've already payed through the nose for IBM i that you shouldn't be charged for accessing the data anywhere else.
Post reply on HN