|
From: <svn...@os...> - 2012-01-16 18:25:04
|
Author: aaime Date: 2012-01-16 10:24:54 -0800 (Mon, 16 Jan 2012) New Revision: 38492 Modified: branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/README.txt branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/pom.xml Log: [GEOT-4010] Update instructions to install the SQL Server driver on trunk and 2.7.x Modified: branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/README.txt =================================================================== --- branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/README.txt 2012-01-16 15:40:54 UTC (rev 38491) +++ branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/README.txt 2012-01-16 18:24:54 UTC (rev 38492) @@ -4,13 +4,18 @@ JDBC Driver ----------- -To use the sql server datastore the jdbc driver must be downloaded from +To use the sql server datastore the jdbc 3.0 driver must be downloaded from Microsoft: - http://msdn.microsoft.com/en-us/data/aa937724.aspx + http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=19847 -The current tested driver version is 1.2 (SQL Server 2005). +The current tested driver version is 3.0 for SQL Server and SQL Azure. According to Microsoft this +driver provides access to SQL Azure, SQL Server 2008 R2, SQL Server 2008, SQL Server 2005 and +SQL Server 2000 from any Java application, application server, or Java-enabled applet. +Make sure to unpack the sqljdbc.jar file, as that's the one providing support for the Java +version in this series (Java 1.5) + Maven ----- @@ -21,7 +26,7 @@ mvn install:install-file -Dfile=<path to sqljdbc.jar> -DartifactId=sqljdbc \ -DgroupId=com.microsoft \ - -Dversion=1.2 \ + -Dversion=3.0 \ -Dpackaging=jar \ -DgeneratePom=true Modified: branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/pom.xml =================================================================== --- branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/pom.xml 2012-01-16 15:40:54 UTC (rev 38491) +++ branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/pom.xml 2012-01-16 18:24:54 UTC (rev 38492) @@ -63,6 +63,16 @@ <role>Java Developer</role> </roles> </developer> + <developer> + <name>Andrea Aime</name> + <id>aaime</id> + <email>and...@ge...</email> + <organization>GeoSolutions</organization> + <roles> + <role>Module Maintainer</role> + <role>Java Developer</role> + </roles> + </developer> </developers> <profiles> @@ -72,9 +82,13 @@ <dependency> <groupId>com.microsoft</groupId> <artifactId>sqljdbc</artifactId> - <version>1.2</version> + <version>${sqlServerDriverVersion}</version> </dependency> </dependencies> </profile> </profiles> + + <properties> + <sqlServerDriverVersion>3.0</sqlServerDriverVersion> + </properties> </project> |