A Java program runs with Oracle's JVM can connect to a local DB in two ways. One is through the internal driver, by calling the OracleDriver's defaultConnection method to get a Connection object. It runs within the default session, you are already "connected". Or you can use the connect remote DB method except use the localhost instead of the remote host. If you do this, you are going through the listener and are creating a new session. Richard Ji On 4/13/06, Radoulov, Dimitre <cichomitiko@xxxxxxxxx> wrote: > > If you are talking about JDBC connection from within the DB's JVM > > through server side driver ... > [...] > > Could you give an example? > > > Thanks, > Dimitre -- //www.freelists.org/webpage/oracle-l