1 Reply Latest reply: May 10, 2012 9:31 AM by gdarling - oracle RSS

    Connection Status INACTIVE (Oracle Dev tools EntityFramework)

    920337
      Hello,

      I am using the EF ObjectContext in a C++ application (via COM) - I wrapped the context in an exposed class to COM in .NET - and once I finish with the COM object, I uninitialize COM (CoUninitialize();) and the finalizer of the wrapped class is called where I do a context.Dispose(); context = null;.
      My problem is that the connection status (select username,program,machine,status FROM V$SESSION where username is not null;) is INACTIVE after disposing the context and this causes problems when the number of licenses is reached.

      How can I force the connection to close?

      Thanks