How to avoid using DB Views when View needs User() info

hughes.matt_at_gmail.com
Date: 12/13/04

  • Next message: hughes.matt_at_gmail.com: "Re: Generating classes for tables of a data base"
    Date: 13 Dec 2004 11:25:39 -0800
    
    

    I am working on a legacy application that was originally built with
    only standalone applications in mind. Each application made a
    connection to the DB and held on to it for the life of the application.
    During this time many views were created to simplify data retrieval;
    however, the views the user_name from the User() (oracle) function to
    execute the views. Now, however, we have a web application as well
    that uses this database. I would like to use connection pooling but
    with the application dependent on these views, and the views dependent
    on User() information, I don't see how I can.

    I was thinking it would be possible to insert information into a
    temporary table that only that connection could see every time I
    started a new connection. The view would then always read from the
    temporary table to find out the user info. It could only read the rows
    available to that connection. Is this something that is possible with
    Oracle, MS_SQL, or Informix? Any other ideas?


  • Next message: hughes.matt_at_gmail.com: "Re: Generating classes for tables of a data base"

    Relevant Pages

    • RE: ADO.Net Connection Pooling Problem with Oracle
      ... the CLR is releasing the connection to your database. ... the number of database sessions in Oracle seem to ...
      (microsoft.public.dotnet.framework.adonet)
    • RE: SOS! ORA-03114: not connected to ORACLE && MSs Bug??
      ... not connected to ORACLE && MS's Bug?? ... > but sometimes returning the following exception "ORA-03114: ... > when loosing the connection with the Oracle database server the connections ... > even after the connection with the database server has been restore. ...
      (microsoft.public.dotnet.framework.aspnet)
    • RE: SOS! ORA-03114: not connected to ORACLE && MSs Bug??
      ... not connected to ORACLE && MS's Bug?? ... > but sometimes returning the following exception "ORA-03114: ... > when loosing the connection with the Oracle database server the connections ... > even after the connection with the database server has been restore. ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Connecting to ODBC DB at startup
      ... Creating an Oracle connection in an independent object ... Dim cnConn As ADODB.Connection ... Dim strDB As String ...
      (comp.databases.ms-access)
    • RE: SOS! ORA-03114: not connected to ORACLE && MSs Bug??
      ... not connected to ORACLE && MS's Bug?? ... > but sometimes returning the following exception "ORA-03114: ... > when loosing the connection with the Oracle database server the connections ... > even after the connection with the database server has been restore. ...
      (microsoft.public.dotnet.languages.csharp)