Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: jdbc:oracle:thin & V$SESSION

Re: jdbc:oracle:thin & V$SESSION

From: Richard Ji <richard.c.ji_at_gmail.com>
Date: Thu, 16 Feb 2006 18:49:05 -0500
Message-ID: <b4d52f20602161549w63cfce5fp196dc280e44e09a4@mail.gmail.com>


You can always use dbms_application_info.set_module to set the module and action column of v$session to provide you more details. Just call it right after you get a Connection object, and update it as frequently as you like.

Richard Ji

On 2/15/06, sol beach <sol.beach_at_gmail.com> wrote:
> When jdbc:oracle:thin is used to connect to an Oracle database,
> V$SESSION.USERNAME is blank & V$SESSION.MACHINE contains "jdbcclient". Both
> of these are less than useful.
> Is there anything that can be done in the Java code to result in better
> information contained in V$SESSION?
>
> TIA!
>

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Feb 16 2006 - 17:49:05 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US