Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Connecting Oracle thru JDBC
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