简体   繁体   中英

How to connect SQL server in tibco (jdbc connection)?

我想在窗口身份验证模式下使用 tibco jdbc 连接连接我的 SQL 服务器。

You can use Windows authentication mode in TIBCO BusinessWorks using the two following approaches :

In Windows environment

You can use the Microsoft SQL Server JDBC driver (that is bundled in BusinessWorks 6.X). In order to manage Windows authentication you need to have the 'sqljdbc_auth.dll' file somewhere in the BusinessWorks PATH.

Then in the JDBC URL definition make sure to include the following element : integratedSecurity=true

For example : jdbc:sqlserver://localhost:1433;databaseName=mydb;integratedSecurity=true

For details you can refer the following stack overflow article : JDBC connection to MSSQL server in windows authentication mode

In an Unix environment you can use the TIBCO JDBC driver for SQLServer ('tibcosoftwareinc.jdbc.sqlserver.SQLServerDriver')

Then in the JDBC URL definition make sure to include the following element : authenticationMethod=ntlmjava;Domain=

Example : jdbc:tibcosoftwareinc:sqlserver://host:1433;databaseName=master;authenticationMethod=ntlmjava;Domain=EMEA

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM