oracleexception

So how is `ROLLBACK` in Oracle exception handler different from my `ROLLBACK`?

末鹿安然 提交于 2020-01-05 04:18:11
问题 How Oracle Database rollback to the beginning of the PL/SQL block, but not the earlier DML instructions (I think all this come under one single transaction). Because when I try to ROLLBACK creating an exception handler all the instructions until last COMMIT are rolled back. create table mytable (num int not null primary key); insert into mytable values(1); // My ROLLBACK, rollbacks to here. begin // Oracle exception handler rollbacks to here. insert into mytable values(3); begin insert into

ORA-03113: end-of-file on communication channel after long inactivity in ASP.Net app

只谈情不闲聊 提交于 2019-11-28 05:53:34
I've got a load-balanced (not using Session state) ASP.Net 2.0 app on IIS5 running back to a single Oracle 10g server, using version 10.1.0.301 of the ODAC/ODP.Net drivers. After a long period of inactivity (a few hours), the application, seemingly randomly, will throw an Oracle exception: Exception: ORA-03113: end-of-file on communication channel at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure) at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery,

ORA-03113: end-of-file on communication channel after long inactivity in ASP.Net app

邮差的信 提交于 2019-11-27 01:05:23
问题 I've got a load-balanced (not using Session state) ASP.Net 2.0 app on IIS5 running back to a single Oracle 10g server, using version 10.1.0.301 of the ODAC/ODP.Net drivers. After a long period of inactivity (a few hours), the application, seemingly randomly, will throw an Oracle exception: Exception: ORA-03113: end-of-file on communication channel at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx,