用jdbc连接oracle的时候,提示错误ORA-28009: connection to sys should be as sysdba or sysoper,
代码中是这么写的,Connection conn = DriverManager.getConnection(
"jdbc:oracle:thin:@192.168.7.107:1521:demo1","SYS","system");
想问一下,以sysdba连接的话在代码中应该怎么写呢?
...全文
3777打赏收藏
jdbc连接oracle的问题!
用jdbc连接oracle的时候,提示错误ORA-28009: connection to sys should be as sysdba or sysoper, 代码中是这么写的,Connection conn = DriverManager.getConnection( "jdbc:oracle:thin:@192.168.7.107:1521:demo1","SYS","system"); 想问一下,以sysdba连接的话在代码中应该怎么写呢?