Re: [Q] how to avoid JDBC client connect to database?

  • From: "Richard Ji" <richard.c.ji@xxxxxxxxx>
  • To: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
  • Date: Thu, 13 Apr 2006 12:34:55 -0400

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


Other related posts: