Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Rathesh
Contributor
Contributor

How to add timeout in talend JDBC DB URL

Hello All,

I have created the job to load data from SQL Server 2012. Is there a way to pass the timeout in the JDBC URL?.

Thanks

Labels (8)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

Please refer to the below links, add the parameter queryTimeout=X to the addtional JDBC parameter field in the advanced settings panel of tMSSQLInput component. eg:

"noDatetimeStringSync=true;queryTimeout=10"

 

https://github.com/Microsoft/mssql-jdbc/wiki/QueryTimeout

https://stackoverflow.com/questions/36553857/how-can-i-enforce-a-query-timeout-for-ms-sql-server-queries-run-via-the-ms-jdbc

 

Regards

Shong

View solution in original post

3 Replies
Anonymous
Not applicable

Hi

Please refer to the below links, add the parameter queryTimeout=X to the addtional JDBC parameter field in the advanced settings panel of tMSSQLInput component. eg:

"noDatetimeStringSync=true;queryTimeout=10"

 

https://github.com/Microsoft/mssql-jdbc/wiki/QueryTimeout

https://stackoverflow.com/questions/36553857/how-can-i-enforce-a-query-timeout-for-ms-sql-server-queries-run-via-the-ms-jdbc

 

Regards

Shong

Rathesh
Contributor
Contributor
Author

May I know what is the default timeout in Talend for SQL Server connection

Anonymous
Not applicable

It might be different for different database version, you can google it on internet or look into the MS SQL documentation.