Skip to main content
Solved

sql server jdbc timeout issues

  • January 27, 2021
  • 2 replies
  • 160 views

oliver.morris
Contributor
Forum|alt.badge.img+12

Hi, I have a few sql executor transformers in a sequence. They are using sql server jdbc driver connections. When I run I get the following notices usually from either the second or the third executor in the chain.

com.microsoft.sqlserver.jdbc.SQLServerException: The query has timed out.

 

I have in the past got round this by putting in feature holders which seem to close the existing connection session but it doesnt appear to be working and is affecting workbenches in desktop and cloud. I dont get these issues with using the native sql client but because I need them to run in cloud they need to be on jdbc.

 

Does anyone have any suggestions as to work arounds for this. thank you

Best answer by david_r

The FeatureHolders would normally have no impact on query timeouts.

Have you tried increasing the timeout in the SQLExecutor connection parameters?

sqlserver_timeoutThat works for me.

View original
Did this help you find an answer to your question?

2 replies

david_r
Evangelist
  • Best Answer
  • January 27, 2021

The FeatureHolders would normally have no impact on query timeouts.

Have you tried increasing the timeout in the SQLExecutor connection parameters?

sqlserver_timeoutThat works for me.


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • January 27, 2021
david_r wrote:

The FeatureHolders would normally have no impact on query timeouts.

Have you tried increasing the timeout in the SQLExecutor connection parameters?

sqlserver_timeoutThat works for me.

thanks david_r, seems like when I upgraded to the latest jdbc driver this reset back to 30, hopefully that will sort it. Thank you


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings