You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Mark Stobbe <ma...@gmail.com> on 2019/03/23 18:15:44 UTC

Timeout long running selects

Hi all,

Does anyone have a solution for killing long running SelectQuerys in cayenne?

Best regards,
Mark

Re: Timeout long running selects

Posted by John Huss <jo...@gmail.com>.
Set the statement timeout using the SQL syntax or connection string
property provided by your database.

https://stackoverflow.com/questions/24092463/psql-set-default-statement-timeout-as-a-user-in-postgres#24093305

On Sat, Mar 23, 2019 at 1:15 PM Mark Stobbe <ma...@gmail.com> wrote:

> Hi all,
>
> Does anyone have a solution for killing long running SelectQuerys in
> cayenne?
>
> Best regards,
> Mark
>