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: Dave <x_at_x.com>
Date: Wed, 06 Apr 2005 00:02:44 GMT
Message-ID: <EGF4e.4781$G8.133@text.news.blueyonder.co.uk>

"asktom" <tk_at_oracle.com> wrote in message news:42532086$1_2_at_rain.i-cable.com...
> 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!
>
>

dont try to be someone you arent with a fake name and email address.

Easy answer - dont use sys! Received on Tue Apr 05 2005 - 19:02:44 CDT

Original text of this message

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