Check out Statement API, use setQueryTimeout method on it.
Thanks for the reply.
Is there any way to the set the query timeout on the Server side instead of on the Statement. Like can we specify this in the teiid-jobss-beans.xml file or a similar file?
Could you log a feature request? Some things to think about:
Would you want it to only be a server side setting, and/or set as a connection property? Would the Statement.setQueryTimeout override the server value?