TOraSession.Options.Net and TOraQuery.Options.AutoClose
TOraSession.Options.Net and TOraQuery.Options.AutoClose
If Net option is TRUE, AutoClose working properly or not?
In designerAutoClose - TOraDataSet will close OCI cursor after fetching all rows. Allows to reduce the number of opened cursors on the server.
Code: Select all
AutoClose is True, FetchAll is True,
OraSquery.SQL (TabCursor parameter type is Cursor)
begin
Pkg.Prc(:TabCursor);
end;Code: Select all
OraQuery.Open; OraQuery.Close; OraQuery.Open;Code: Select all
select count(*) from sys.v_$open_cursor;We have not received your e-mail. Please send your test project to [email protected] again.
I send my test to [email protected]
I wait answer...
If you not recieved my mail again, I upload my test here:
http://rapidshare.com/files/4615278/Test.zip.html
If you not recieved my mail again, I upload my test here:
http://rapidshare.com/files/4615278/Test.zip.html
Mirrors:
http://shareua.com/files/5b50c7/Test.zip.html
http://ifolder.ru/498469
http://www.filefactory.com/file/a23ede/
Oracle 8.1.7.4
ODAC 5.80.0.37
http://shareua.com/files/5b50c7/Test.zip.html
http://ifolder.ru/498469
http://www.filefactory.com/file/a23ede/
Oracle 8.1.7.4
ODAC 5.80.0.37
We have fixed the problem with preparing. The fix will be included in the next build of ODAC.
But we don't recommend preparing ODAC datasets with a PL/SQL statement returning REF CURSOR. When you prepare such dataset, the query is executed to get the list of fields. When you open, the dataset it is executed the second time. So if you prepare the dataset with a PL/SQL statement returning REF CURSOR it is executed twice.
But we don't recommend preparing ODAC datasets with a PL/SQL statement returning REF CURSOR. When you prepare such dataset, the query is executed to get the list of fields. When you open, the dataset it is executed the second time. So if you prepare the dataset with a PL/SQL statement returning REF CURSOR it is executed twice.