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

Home -> Community -> Mailing Lists -> Oracle-L -> Java Database Connection

Java Database Connection

From: John Weatherman <john.weatherman_at_replacements.com>
Date: Mon, 23 Dec 2002 06:48:45 -0800
Message-ID: <F001.00521286.20021223064845@fatcity.com>


All,

Given that connections to SYS have to be done "as sysdba", does anyone know what the JAVA syntax looks like to connect to the sys user? I'm writing a procedure for compiling any invalid objects and, while a system is ok for 99% of the problems, it doesn't have permissions for fixing sys objects. Admittedly this is only a problem in my test case (revoking select on dual does a wonderful job of making invalid objects), but I would like my code to work if something did go invalid in sys for some reason.

Thanks,

John

John P Weatherman
Oracle Database Administrator
Replacements, Ltd.
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: John Weatherman
  INET: john.weatherman_at_replacements.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Dec 23 2002 - 08:48:45 CST

Original text of this message

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