Hi, I have problem with long time running queries (more than 30 sec). I use C# form application, connection to Oracle DB via dotConnect, no pooling, connection in Direct mode. For security reasons I only use server-side procedures and functions stored in packages. There is no client-side command merging (and no OracleCommand using).
The problem is the impossibility to change query timeout. I do not use OracleCommand class (there it is possible to change the timeout - I know). I only use OracleConnection, OraclePackage classes and generated packages via Oracle Package Wizard. Is there a way to change global query timeout for method called from generated packages?
Code example:
...
MyPckg my = new MyPckg(); // MyPckg is generated via Oracle Package Wizard
my.Connection = oraConn; // earlier established and opened, Pooling = false; Direct = true
OracleCursor oc = my.SelPersonList(deptId);
...
/*when the query SelPersonList is running for a long time (e.g. with fulltext condition), than after 30 sec is exception thrown*/
Can you help me, please?
THX!
Petr
Stored packages and query timeout
dotConnect for Oracle v 5.35 is released.
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=16436.
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=16436.