すべてのバージョン
Bamboo 5.13Bamboo 5.7.x
Bamboo 5.6.x
More...
はじめる前に
We strongly recommend, using the open source JTDS JDBC driver version 1.0.3 or above, for MS SQL Server integration.
Bamboo provides two ways to connect to an MS SQL Server database — via JDBC or via a datasource. JDBC is generally simpler and is the recommended method.
To connect Bamboo to a MS SQL Server database, via JDBC,
jar
(download here) file into your application server's classpath:
jar
file into the webapp/WEB-INF/lib
directory.net.sourceforge.jtds.jdbc.Driver
jdbc:jtds:sqlserver://localhost:1433/<database>
Mixed mode Windows Authentication.
On a typical MS SQL Server installation, 'Windows Authentication' mode is the default security mode. This means that if you try to connect to the database with a database user, MS SQL Server will throw the following error, "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection." To resolve this, you can either,
For further information, please consult this MSDN article.
Screenshot 1: 'Setup JDBC Connection (MS SQL Server)'
To connect Bamboo to a MS SQL Server, via a datasource,
java:comp/env/jdbc/DataSourceName
doesn't work, try jdbc/DataSourceName
(and vice versa).Mixed mode Windows Authentication.
On a typical MS SQL Server installation, 'Windows Authentication' mode is the default security mode. This means that if you try to connect to the database with a database user, MS SQL Server will throw the following error, "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection." To resolve this, you can either,
For further information, please consult this MSDN article.
Screenshot 2: 'Setup Datasource Connection'
関連トピック