You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by 38797715 <38...@qq.com> on 2022/07/01 14:59:53 UTC
Cursor in ThinClient failure
Hi team,
FieldsQueryCursor<List<?>> cursor = client.query(new
SqlFieldsQuery("SELECT name from Person WHERE
id=?").setArgs(key).setSchema("PUBLIC"));
If the thin client fails during the execution of the above code, will it
leave an unclosed cursor on the server side?
Re: Cursor in ThinClient failure
Posted by Pavel Tupitsyn <pt...@apache.org>.
Hi, sorry for the late reply, your message got in my spam folder for some
reason.
> If the thin client fails during the execution of the above code, will it
leave an unclosed cursor on the server side?
No, if the query fails, all resources are cleared.
On Thu, Jul 7, 2022 at 1:26 PM 38797715 <38...@qq.com> wrote:
> Does the thin client have a mechanism like Session?
>
Re: Cursor in ThinClient failure
Posted by 38797715 <38...@qq.com>.
Does the thin client have a mechanism like Session?