[jboss-cvs] JBossAS SVN: r61002 - branches/Branch_4_2/connector/src/etc/example-config.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 28 11:13:00 EST 2007


Author: weston.price at jboss.com
Date: 2007-02-28 11:13:00 -0500 (Wed, 28 Feb 2007)
New Revision: 61002

Modified:
   branches/Branch_4_2/connector/src/etc/example-config/mssql-ds.xml
   branches/Branch_4_2/connector/src/etc/example-config/mssql-xa-ds.xml
Log:
[JBAS-4127] Upgrade *-ds.xml definitions to use latest MSSQLServer driver
for MSSQLServer 2005. 

Modified: branches/Branch_4_2/connector/src/etc/example-config/mssql-ds.xml
===================================================================
--- branches/Branch_4_2/connector/src/etc/example-config/mssql-ds.xml	2007-02-28 16:01:46 UTC (rev 61001)
+++ branches/Branch_4_2/connector/src/etc/example-config/mssql-ds.xml	2007-02-28 16:13:00 UTC (rev 61002)
@@ -9,16 +9,17 @@
 <!-- $Id$ -->
 
   <!-- ======================================================================-->
-  <!-- New ConnectionManager setup for Microsoft SQL Server 2000  driver     -->
-  <!-- You may download the latest Microsoft JDBC driver from *Microsoft*    -->
-  <!-- http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/MSDN-FILES/027/001/779/msdncompositedoc.xml&frame=true -->
+  <!-- New ConnectionManager setup for Microsoft SQL Server 2005  driver     -->
+  <!-- Further information about the Microsoft JDBC Driver version 1.1      -->
+  <!-- can be found here:                                                   -->
+  <!-- http://msdn2.microsoft.com/en-us/library/aa496082.aspx               -->  
   <!-- ===================================================================== -->
 
 <datasources>
   <local-tx-datasource>
     <jndi-name>MSSQLDS</jndi-name>
     <connection-url>jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=MyDatabase</connection-url>
-    <driver-class>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver-class>
+    <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
     <user-name>x</user-name>
     <password>y</password>
         <!-- sql to call when connection is created

Modified: branches/Branch_4_2/connector/src/etc/example-config/mssql-xa-ds.xml
===================================================================
--- branches/Branch_4_2/connector/src/etc/example-config/mssql-xa-ds.xml	2007-02-28 16:01:46 UTC (rev 61001)
+++ branches/Branch_4_2/connector/src/etc/example-config/mssql-xa-ds.xml	2007-02-28 16:13:00 UTC (rev 61002)
@@ -8,12 +8,15 @@
 
 <!-- $Id$ -->
   <!-- ==================================================================== -->
-  <!-- ConnectionManager setup for xa Microsoft SQL Server 2000, using      -->
+  <!-- ConnectionManager setup for xa Microsoft SQL Server 2005, using      -->
   <!-- Microsoft's JDBC driver.                                             -->
   <!-- Thanks to Benjamin Geer  <benjamin.geer at misys.com>                   -->
   <!-- Be sure to set the JndiName property to the name you want to look up -->
   <!-- the datasource under and set the location of your database in        -->
   <!-- the xa-datasource-property section.                                  -->
+  <!-- Further information about the Microsoft JDBC Driver version 1.1      -->
+  <!-- can be found here:                                                   -->
+  <!-- http://msdn2.microsoft.com/en-us/library/aa496082.aspx               -->
   <!-- ==================================================================== -->
 
 
@@ -22,7 +25,7 @@
     <jndi-name>MSSQLXADS</jndi-name>
     <track-connection-by-tx/>
     <isSameRM-override-value>false</isSameRM-override-value>
-    <xa-datasource-class>com.microsoft.jdbcx.sqlserver.SQLServerDataSource</xa-datasource-class>
+    <xa-datasource-class>com.microsoft.sqlserver.jdbc.SQLServerXADataSource</xa-datasource-class>
     <xa-datasource-property name="ServerName">myserver</xa-datasource-property>
     <xa-datasource-property name="DatabaseName">mydatabase</xa-datasource-property>
     <xa-datasource-property name="SelectMethod">cursor</xa-datasource-property>




More information about the jboss-cvs-commits mailing list