Page 1 of 1

Automatically close unused cursor

Posted: Sun 15 Feb 2015 07:05
by delphi7
Hello Alex,

is there a methode to close unused cursor,or to detect if a cursor is unused to close it after?

thanks

Re: Automatically close unused cursor

Posted: Mon 16 Feb 2015 09:06
by AlexP
Hello,

ODAC includes an option AutoClose, that closes the cursor after retrieving all data. See more details in the documentation:
http://www.devart.com/odac/docs/devart_ ... oclose.htm .

Re: Automatically close unused cursor

Posted: Mon 16 Feb 2015 15:27
by delphi7
Hello,
how can i assign this methode direcly to my query or my function()which return cursor to apply the the behavior autoclose after unused cursor.

thanks

Re: Automatically close unused cursor

Posted: Sun 22 Feb 2015 07:31
by delphi7
Hello , :D

i find the methode, its very simple haha, its located in options of query or storedprocedure component.

thank you

Re: Automatically close unused cursor

Posted: Mon 23 Feb 2015 06:13
by AlexP
Glad to see that the issue was resolved. If you have any further questions, feel free to contact us.