dcsimg
JDBC to Oracle9i connection
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Horatiu_Ripa
Posted On:   Monday, April 1, 2002 04:12 AM

I want to run SP's that creates new schema on an ORACLE9i DB by using JDBC. Is there a way to connect to the ORACLE9i DB using "SYS" user (as SYSADMIN) ?

Re: JDBC to Oracle9i connection

Posted By:   Bozidar_Dangubic  
Posted On:   Monday, April 1, 2002 06:21 AM

Try and see. specify SYS as user and SYS password as password when you get a connection. if you are getting a connection through a datasource for which you have already defined the user (in some app server configuration file), you can still override the user when calling getConnection() on the datasource using getConnection() flavor that takes username and password.
About | Sitemap | Contact