We are trying to set the execution time out for a query and we use the spring jdbctempalte to do that as below:
Code: Select all
jdbctemplate.setTimeout(time_in_miilis)
However, my purpose is to set it for only one query but not the whole user/schema. So, is there any way i can do it through the query or using jdbc api programatically within java code.
Thanking all in advance for your help.