이 콘텐츠는 선택한 언어로 제공되지 않습니다.
2.4. Configuring a datasource for Microsoft SQL Server 200x
In this section, we'll connect the server to MS SQL Server 2005 using the latest JDBC driver (v2.0) available at http://msdn2.microsoft.com/en-us/data/aa937724.aspx.
2.4.1. Installing the JDBC Driver and Deploying the DataSource 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
To make the JDBC driver classes available to the JBoss Enterprise Application Platform, copy the archive
sqljdbc.jar from the sqljdbc_2.0 distribution to the lib directory in the default server configuration (assuming that is the server configuration you’re running).
Then create a text file in the
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
The datasource is pointing at a database
deploy directory called mssql-ds.xml with the following datasource descriptor :
pubs provided by default with MS SQL Server 2000.
Remember to update the connection url attributes as well as the username/password combination to match your environment setup.
2.4.1.1. Testing the datasource 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Using the test client described in Section 2.6, “Creating a JDBC client”, you may now verify the proper installation of your datasource.