-
A new JDBC Driver for SQL Server (10 messages)
- Posted by: Mugunthan Mugundan
- Posted on: April 29 2009 06:10 EDT
Microsoft SQL Server today announced the general availability of the JDBC v2.0 driver has been released. This release continues Microsoft's commitment to the Java community and non-Microsoft centric programming platforms. The driver can be found at http://msdn.microsoft.com/data/jdbc. This version of the JDBC driver supports features introduced in the JDBC 4.0 API, including: · national character set data types: NCHAR, NVARCHAR, LONGNVARCHAR, NCLOB · SQLXML data type · Wrapper interface to access SQL Server JDBC Driver specific methods · client info properties · new database metadata methods · LOB creator methods The 2.0 driver also adds: · default adaptive response buffering behavior · support for SQL Server 2008 collations · enhanced tracing, including public method entry and exit traces · performance improvements and bug fixes The SQL Server JDBC team continually monitors TheServerSide threads and would love to get your feedback on the driver for future releases as well as areas where we can help improve Java/JDBC connectivity to SQL Server, so do let us know what you think?Threaded Messages (10)
- Re: A new JDBC Driver for SQL Server by Max Andersen on April 29 2009 11:04 EDT
- The license does allow you to redistribute the driver by Mugunthan Mugundan on May 05 2009 13:56 EDT
- Must register to redistribute by Myron Uecker on May 08 2009 03:32 EDT
- The license does allow you to redistribute the driver by Mugunthan Mugundan on May 05 2009 13:56 EDT
- Possible Problem with Driver? by Han Tunca on April 29 2009 11:07 EDT
- Comparison with jTDS by Matthew Passell on April 29 2009 13:41 EDT
- Re: Comparison with jTDS by Christian Maslen on April 29 2009 18:58 EDT
- jtds by Ulas Ergin on April 30 2009 08:26 EDT
- Re: Comparison with jTDS by Christian Maslen on April 29 2009 18:58 EDT
- License by Gilberto Olimpio on April 29 2009 13:48 EDT
- worried about licence by Adin Aronson on May 01 2009 02:04 EDT
- Re: worried about licence by Max Andersen on May 05 2009 04:03 EDT
- worried about licence by Adin Aronson on May 01 2009 02:04 EDT
-
Re: A new JDBC Driver for SQL Server[ Go to top ]
- Posted by: Max Andersen
- Posted on: April 29 2009 11:04 EDT
- in response to Mugunthan Mugundan
How about a license that would allow it to be distributed freely ? -
The license does allow you to redistribute the driver[ Go to top ]
- Posted by: Mugunthan Mugundan
- Posted on: May 05 2009 13:56 EDT
- in response to Max Andersen
You can redistribute the driver with your application without needing the user of your software to download the driver from the download site, -
Must register to redistribute[ Go to top ]
- Posted by: Myron Uecker
- Posted on: May 08 2009 15:32 EDT
- in response to Mugunthan Mugundan
You can redistribute the driver with your application without needing the user of your software to download the driver from the download site,
Per the documentation, you must first register to redistribute Microsoft's JDBC driver. You don't have to do that to include the JTDS driver. http://msdn.microsoft.com/en-us/data/aa937725.aspx -
Possible Problem with Driver?[ Go to top ]
- Posted by: Han Tunca
- Posted on: April 29 2009 11:07 EDT
- in response to Mugunthan Mugundan
After registering the new Driver in some test code, went to get a connection with: DriverManager.getConnection("jdbc:microsoft:sqlserver://hostname:port;") only to receive an exception that a suitable driver could not be found. Snooped around in the source code and found that the Utils class in the jar file is looking for a driver URL that begins with "jdbc:sqlserver" - changed my URL to jdbc:sqlserver://hostname:port; and it worked. Han Tunca CTO ClearFunds Advisors, LLC www.clearfunds.com www.staffordassetmanagement.com -
Comparison with jTDS[ Go to top ]
- Posted by: Matthew Passell
- Posted on: April 29 2009 13:41 EDT
- in response to Mugunthan Mugundan
I'm working on a project that's currently using the jTDS JDBC driver rather than the one provided by Microsoft. jTDS is a JDBC 3.0 driver and only officially supports versions of SQL Server up to 2005 (might work with 2008). What does the Microsoft driver offer relative to jTDS, other than JDBC 4.0 and official 2008 support, that could convince me to switch? I don't have anything against the Microsoft driver, it's just that I haven't yet had any problems with jTDS. Thanks, Matt -
Re: Comparison with jTDS[ Go to top ]
- Posted by: Christian Maslen
- Posted on: April 29 2009 18:58 EDT
- in response to Matthew Passell
What does the Microsoft driver offer relative to jTDS, other than JDBC 4.0 and official 2008 support, that could convince me to switch? I don't have anything against the Microsoft driver, it's just that I haven't yet had any problems with jTDS
If I were you I wouldn't. But having never needed to connect a Java app to SQL Server I'd choose the MS driver because of jTDS documentation versus MS documentation Christian. -
jtds[ Go to top ]
- Posted by: Ulas Ergin
- Posted on: April 30 2009 08:26 EDT
- in response to Christian Maslen
having considering performance and bugs,I did choose jtds over MS driver in previous versions. -
License[ Go to top ]
- Posted by: Gilberto Olimpio
- Posted on: April 29 2009 13:48 EDT
- in response to Mugunthan Mugundan
I agree with @Max...I better license will be welcome. That's one of the reasons why I don't use the Microsoft JDBC driver. -
worried about licence[ Go to top ]
- Posted by: Adin Aronson
- Posted on: May 01 2009 02:04 EDT
- in response to Gilberto Olimpio
You guys are using Microsoft SQL Server. A closed proprietary non distributable piece of software and the little bit needed to connect to it is what is worrying you? -
Re: worried about licence[ Go to top ]
- Posted by: Max Andersen
- Posted on: May 05 2009 04:03 EDT
- in response to Adin Aronson
You guys are using Microsoft SQL Server. A closed proprietary non distributable piece of software and the little bit needed to connect to it is what is worrying you?
I can make better opensource software that uses various JDBC drivers if Im allowed to bundle them - i.e. they can work out of the box instead of requiring mundane downloading and configuration. Btw. Microsoft actually provides SQL Server Express which is ok to use freely for some scenarios.