Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

querytimeout not working

 
Muhammad Imad Qureshi
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

We have DB2 datasource and I am calling a stored procedure. Caller to my java method passes query timeout which I set if its greater than 0. Please see code below. But my procedure completes without timing out and returns the result (two minute execution time for procedure where timeout is set to 5 to 10 seconds).



Can someone please help me with this.

Thanks
Imad
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic