|
Microsoft SQL Server |
Top Previous Next |
|
This manual assumes you already have Microsoft SQL Server 2000 (v8.0), 2005, or 2008 installed and running. Note: SQL Server is only supported in Code Collaborator and is not supported by Code Reviewer. For a complete list of differences between the two products, please see the comparison page. Instructions for Microsoft SQL Server 2008 and alternate JDBC drivers There are a number of different JDBC drivers that can be used for SQL Server - no single driver supports all the versions of SQL Server that Code Collaborator supports. You should refer to the SQL Server Developer Center documentation for specific details about your database installation. We ship with a driver that is compatible with many configurations, but not SQL Server 2008. The following drivers can be installed and used in place of the shipped driver: This driver supports SQL Server 2000, 2005 and 2008 running Java 1.4 or later: Microsoft SQL Server JDBC Driver 1.2 Download This driver supports SQL Server 2000, 2005 and 2008 running Java 5.0 or later: Microsoft SQL Server JDBC Driver 2.0 EULA and Download To install one of these drivers, or other JDBC driver:
SQL Server 2008 running with Java 6.0 There are additional JDBC driver component files required for SQL Server 2008 support on Java 6.0, and for backward compatibility issues. The Microsoft 2.0 driver referenced above provides a different .jar file for Java 6.0 installations. The driver contains two .jar files: sqljdbc.jar and sqljdbc4.jar. Only sqljdbc4.jar will work on Java 6.0. To install the driver, delete any existing sqljdbc.jar file, and copy the sqljdbc4.jar into the lib directory. Please refer to the SQL Server 2008 JDBC driver documentation for details: JDBC Driver Requirements on SQL Server 2008 Setting up the database Create a database for Code Collaborator. It is recommended that you also create a username/password pair just for Code Collaborator and give this account full access to the database and no access to other databases. You should use a SQL Server account instead of Windows-based authentication because the Code Collaborator service might not be running under a normal Windows-based login. During the GUI installation screens for the Code Collaborator server, you will be prompted for the SQL Server host name, TCP/IP port, database name, user name, and password. The installer will report any connectivity errors. When you visit the web page for Code Collaborator, it will detect that you have a new database and will create all tables, indexes, and views for you automatically. SQL Server using integrated authentication If you are using integrated authentication, there are a couple of additional steps you may need to follow to get Code Collaborator talking to your database.
SQL Server limitations With SQL Server 2000, text fields can contain a maximum 8000 characters. This includes changelist descriptions, review overview text, and comment and defect text. With SQL Server 2005 and later there is no such restriction. Troubleshooting
|