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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Connecting Oracle thru JDBC

Re: Connecting Oracle thru JDBC

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: 5 Apr 2005 17:03:52 -0700
Message-ID: <1112745832.785004.287150@f14g2000cwb.googlegroups.com>

asktom wrote:
> Not sure if this is the right place to ask because this issue
involving both
> oracle and JDBC (which means java).
>
> How can someone connect as SYS using JDBC? I have this problem
because we
> must also supply the role as SYSDBA when connecting by SYS. In JDBC,
If we
> connect by DriverManager.getConnection(url, property), it is fine as
the
> 'internal_logon' property is used to specify SYSDBA. But what about
when we
> need to connect thru a datasource? There doesnt seem to be a
corresponding
> place to specify 'internal_logon' property if we connect thru a
datasource!

Define datasource as you mean it.

Regards
/Rauf Received on Tue Apr 05 2005 - 19:03:52 CDT

Original text of this message

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