<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Angel Saenz-Badillos </title><link>http://blogs.msdn.com/b/angelsb/</link><description>random ramblings on ADO.NET LINQ Extensions and JDBC</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>does not contain a definition for</title><link>http://blogs.msdn.com/b/angelsb/archive/2007/02/23/does-not-contain-a-definition-for.aspx</link><pubDate>Sat, 24 Feb 2007 06:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1750489</guid><dc:creator>angelsb</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=1750489</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2007/02/23/does-not-contain-a-definition-for.aspx#comments</comments><description>Have you heard about extension methods yet? If you have then you probably know exactly what the title of this blog means. I can see this becoming one of the most asked about exceptions in the coming release. At least until the dust settles. 
 
 &amp;lt;Edit&amp;gt;...(&lt;a href="http://blogs.msdn.com/b/angelsb/archive/2007/02/23/does-not-contain-a-definition-for.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1750489" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/angelsb/archive/tags/Linq+Extensions/">Linq Extensions</category></item><item><title>Blogging about link Extensions</title><link>http://blogs.msdn.com/b/angelsb/archive/2007/01/29/blogging-about-link-extensions.aspx</link><pubDate>Mon, 29 Jan 2007 20:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1552611</guid><dc:creator>angelsb</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=1552611</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2007/01/29/blogging-about-link-extensions.aspx#comments</comments><description>There are not a lot of guidelines about blogging, the one that I like to adhere to is that I only blog about bits that you can go and play with. This ends up creating gaps in my blogging history as I move to new unpublished products. I have moved, oh...(&lt;a href="http://blogs.msdn.com/b/angelsb/archive/2007/01/29/blogging-about-link-extensions.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1552611" width="1" height="1"&gt;</description></item><item><title>JDBC V1.1 Distributed Transactions with Read Committed and Snapshot isolation.</title><link>http://blogs.msdn.com/b/angelsb/archive/2006/08/29/730655.aspx</link><pubDate>Wed, 30 Aug 2006 00:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:730655</guid><dc:creator>angelsb</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=730655</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2006/08/29/730655.aspx#comments</comments><description>One of the biggest changes you may not have noticed in the v1.1 2005 JDBC driver is that we have changed the default isolation level for Distributed Transactions from Serializable to Read Committed. This is in line with other JDBC drivers like our 2000...(&lt;a href="http://blogs.msdn.com/b/angelsb/archive/2006/08/29/730655.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=730655" width="1" height="1"&gt;</description></item><item><title>JDBC Snapshot isolation level</title><link>http://blogs.msdn.com/b/angelsb/archive/2006/08/24/719013.aspx</link><pubDate>Thu, 24 Aug 2006 23:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:719013</guid><dc:creator>angelsb</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=719013</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2006/08/24/719013.aspx#comments</comments><description>I have gotten some questions about using Sql Server 2005 with the 2005 JDBC driver. There are unfortunately a lot of misconceptions in this area. Here are some notes to make this a little bit easier to understand. 
 
 The first thing you need to understand...(&lt;a href="http://blogs.msdn.com/b/angelsb/archive/2006/08/24/719013.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=719013" width="1" height="1"&gt;</description></item><item><title>JDBC 2005 v1.1 is now available.</title><link>http://blogs.msdn.com/b/angelsb/archive/2006/08/22/713417.aspx</link><pubDate>Wed, 23 Aug 2006 03:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:713417</guid><dc:creator>angelsb</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=713417</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2006/08/22/713417.aspx#comments</comments><description>The v1.1 2005 JDBC driver is now available for download here: 
 http://msdn.microsoft.com/data/ref/jdbc/ 
 
 This is a release I am personally really proud of, and we could not have done it without you! 
 
 Maybe it’s the fact that not that many...(&lt;a href="http://blogs.msdn.com/b/angelsb/archive/2006/08/22/713417.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=713417" width="1" height="1"&gt;</description></item><item><title>JDBC June 2006 Community Tech Preview available.</title><link>http://blogs.msdn.com/b/angelsb/archive/2006/06/26/647672.aspx</link><pubDate>Mon, 26 Jun 2006 22:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:647672</guid><dc:creator>angelsb</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=647672</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2006/06/26/647672.aspx#comments</comments><description>Announcing the June 2006 Community Tech Preview of the JDBC 2005 driver: 
 http://www.microsoft.com/downloads/details.aspx?familyid=f914793a-6fb4-475f-9537-b8fcb776befd&amp;amp;displaylang=en 
 
 This preview contains all the changes of CTP 1 including...(&lt;a href="http://blogs.msdn.com/b/angelsb/archive/2006/06/26/647672.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=647672" width="1" height="1"&gt;</description></item><item><title>JDBC v1.1 CTP and the Product Feedback Center</title><link>http://blogs.msdn.com/b/angelsb/archive/2006/04/20/580233.aspx</link><pubDate>Fri, 21 Apr 2006 02:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580233</guid><dc:creator>angelsb</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=580233</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2006/04/20/580233.aspx#comments</comments><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;When you get down to it Customer feedback is what makes a project like this interesting and worthwhile. This is the first project I have worked in where the &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:place w:st="on"&gt;&lt;st1:PlaceName w:st="on"&gt;Product&lt;/st1:PlaceName&gt; &lt;st1:PlaceName w:st="on"&gt;Feedback&lt;/st1:PlaceName&gt; &lt;st1:PlaceType w:st="on"&gt;Center&lt;/st1:PlaceType&gt;&lt;/st1:place&gt; has made such an important difference and a BIG thank you to those of you that have taken the time to file bugs directly on the JDBC provider: &lt;A href="http://lab.msdn.microsoft.com/productfeedback/default.aspx"&gt;&lt;FONT color=#800080&gt;http://lab.msdn.microsoft.com/productfeedback/default.aspx&lt;/FONT&gt;&lt;/A&gt; &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;I want to make sure that you understand that we take these bugs very seriously. We triage them daily and treat them as the highest priority bugs come release time. Here is a list of customer bugs that we have received since we shipped RTM. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;STRONG&gt;All of these bugs have been fixed in our latest JDBC V1.1 CTP. you can download this CTP by contacting the JDBC project manager directly at shelbyg&amp;lt;at&amp;gt;Microsoft&amp;lt;dot&amp;gt;com. &lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="FONT-SIZE: 11.5pt"&gt;Bug Details: Statement.execute() returns incorrect results for stored procedures&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;A href="http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=dc43eb80-69b5-4137-8671-9f4e813ce259"&gt;&lt;FONT color=#800080&gt;http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=dc43eb80-69b5-4137-8671-9f4e813ce259&lt;/FONT&gt;&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="FONT-SIZE: 11.5pt"&gt;Bug Details: JDBC 2005 GA Driver error when running a callablestatement on SQLServer 2000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;A href="http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=3fcf439d-79ed-44d9-bbbf-320e4ee25d89"&gt;&lt;FONT color=#800080&gt;http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=3fcf439d-79ed-44d9-bbbf-320e4ee25d89&lt;/FONT&gt;&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Exception Message: “SQL Error: A server cursor is not allowed on a remote stored procedure or stored procedure with more than one SELECT statement. Use a default result set or client cursor”&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="FONT-SIZE: 11.5pt"&gt;Bug Details: JDBC Driver executeBatch does not work with INSERT statement&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;A href="http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=e13a8009-7466-4803-ba19-6bfd4b5f8966"&gt;&lt;FONT color=#800080&gt;http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=e13a8009-7466-4803-ba19-6bfd4b5f8966&lt;/FONT&gt;&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Exception Message: “java.sql.BatchUpdateException: com.microsoft.sqlserver.jdbc.SQLServerException: sp_cursoropen/sp_cursorprepare: The statement parameter can only be a single select or a single stored procedure.“&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="FONT-SIZE: 11.5pt"&gt;Bug Details: SQL2005 JDBC Driver bug with time zone handling&lt;/SPAN&gt; **Available as a QFE**&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;A href="http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=e73c8b79-53a6-4779-98f1-71c0043179eb"&gt;&lt;FONT color=#800080&gt;http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=e73c8b79-53a6-4779-98f1-71c0043179eb&lt;/FONT&gt;&lt;/A&gt; &lt;BR style="mso-special-character: line-break"&gt;&lt;BR style="mso-special-character: line-break"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Additional customer issues addressed that have no associated external bugs:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Bug Detail: Using sendStringParametersAsUnicode does not work with XA transactions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Exception Message: “java.sql.SQLException: Failed to create the XA control connection.”&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=580233" width="1" height="1"&gt;</description></item><item><title>JDBC v1.1 CTP Using Type 2 Integrated Security</title><link>http://blogs.msdn.com/b/angelsb/archive/2006/04/14/576723.aspx</link><pubDate>Sat, 15 Apr 2006 02:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:576723</guid><dc:creator>angelsb</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=576723</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2006/04/14/576723.aspx#comments</comments><description>&lt;P&gt;To use the Type 2 Integrated Security feature&amp;nbsp;with the v1.1 CTP (if you don't have this already make sure to get it! see my previous blog) you only need to make sure that the Windows authentication DLL is visible to the application that is going to use it (This usually means it is in the same directory or in a directory specified in your Path). Then specify integratedSecurity in your connection string and you are done.&lt;/P&gt;
&lt;P&gt;The Windows authentication DLL is located under:&lt;/P&gt;
&lt;P&gt;\sqljdbc_1.1\enu\auth\x86\sqljdbc_auth.dll&amp;nbsp; //for x86 client OS versions&lt;BR&gt;\sqljdbc_1.1\enu\auth\x64\sqljdbc_auth.dll&amp;nbsp; //for AMD 64 clients running Windows 2003 64bit OS&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;import java.sql.*;&lt;/P&gt;
&lt;P&gt;public class test {&lt;BR&gt;&amp;nbsp;public static void main(String[] args) {&lt;BR&gt;&amp;nbsp; try {&lt;BR&gt;&amp;nbsp;&amp;nbsp; java.lang.Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");&lt;BR&gt;&amp;nbsp;&amp;nbsp; Connection conn = java.sql.DriverManager.getConnection("jdbc:sqlserver://servername;integratedSecurity=true");&lt;BR&gt;&amp;nbsp;&amp;nbsp; System.out.println("Connected!");&lt;BR&gt;&amp;nbsp;&amp;nbsp; conn.close();&lt;/P&gt;
&lt;P&gt;&amp;nbsp; } catch (Exception ex) {&lt;BR&gt;&amp;nbsp;&amp;nbsp; ex.printStackTrace();&lt;BR&gt;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;}&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=576723" width="1" height="1"&gt;</description></item><item><title>JDBC V1.1 CTP Available</title><link>http://blogs.msdn.com/b/angelsb/archive/2006/04/14/576706.aspx</link><pubDate>Sat, 15 Apr 2006 02:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:576706</guid><dc:creator>angelsb</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=576706</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2006/04/14/576706.aspx#comments</comments><description>&lt;P&gt;I am proud to say that the first community preview release of the SQL Server 2005 JDBC v1.1 driver is now available. &lt;/P&gt;
&lt;P&gt;This build includes Type-2 integrated authentication&amp;nbsp; for Windows XP and Windows 2003 clients (windows 2000 client support to come in the next CTP).&amp;nbsp;It also incorporates bug fixes from customer feedback of the v1.0&amp;nbsp;driver and a fair ammount of plumbing under the covers. We really want to get as much feedback on this as possible.&lt;/P&gt;
&lt;P&gt;To get the v1.1 CTP1 please email&amp;nbsp;the JDBC Project Manager&amp;nbsp;directly at &lt;BR&gt;shelbyg&amp;lt;at&amp;gt;microsoft&amp;lt;dot&amp;gt;com. &lt;/P&gt;
&lt;P&gt;I have a bet going with him on the number of requests he will receive so don't let me down! &lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=576706" width="1" height="1"&gt;</description></item><item><title>JDBC 2005 beta 2 getting started with SQLEXPRESS</title><link>http://blogs.msdn.com/b/angelsb/archive/2005/10/20/483206.aspx</link><pubDate>Fri, 21 Oct 2005 00:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:483206</guid><dc:creator>angelsb</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/angelsb/rsscomments.aspx?WeblogPostID=483206</wfw:commentRss><comments>http://blogs.msdn.com/b/angelsb/archive/2005/10/20/483206.aspx#comments</comments><description>&lt;P&gt;Sql Express is going to be a good match for the Sql Server 2005 JDBC provider, it is free, it is relatively easy to set up and deploy and it has all the power of Sql Server 2005 for low end applications.&lt;/P&gt;
&lt;P&gt;There are a few&amp;nbsp; things to keep in mind when using Sql Express with the JDBC driver:&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You need to enable mixed mode security when you install the server so that you can connect using user name and password.&lt;BR&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Make sure that the sqlbrowser is enabled.&amp;nbsp; Sql Server configuration Manager -&amp;gt;SQL Server 2005 Services -&amp;gt;SQL Server Browser -&amp;gt;Start&lt;BR&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The JDBC provider only works with the TCP/IP protocol which is disabled by default on Sql Express. You need to enable the TCP/IP Protocol from the SQL Server Configuration Manager that ships with SqlExpress and re-start the server. Look under SQL Server 2005 Network Configuration -&amp;gt; Protocols for SQLEXPRESS-&amp;gt; TCP/IP-&amp;gt;Enable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have set up Sql Express accordingly you can connect like this:&lt;BR&gt;&amp;nbsp;&lt;BR&gt;import java.sql.*;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;public class test{&lt;BR&gt;&amp;nbsp; public static void main(String[] args) {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.lang.Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connection c = java.sql.DriverManager.getConnection("jdbc:sqlserver://localhost\\SQLEXPRESS;user=myuser;password=mypass;");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Connected!");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }catch(Exception ex){&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ex.printStackTrace();&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp; }&lt;BR&gt;}&lt;BR&gt;&amp;nbsp;&lt;BR&gt;If you are interested enough in this driver to have read this far you may be interested in learning more about our Data Coercion story:&lt;BR&gt;&lt;a href="http://blogs.msdn.com/dataaccess/archive/2005/10/19/482792.aspx"&gt;http://blogs.msdn.com/dataaccess/archive/2005/10/19/482792.aspx&lt;/A&gt;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&lt;BR&gt;Rambling out, the information in this blog is provided "AS IS" and confers no rights.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=483206" width="1" height="1"&gt;</description></item></channel></rss>