我用oracle创建java存储过程出错
ORA-29531:nomethodbackUpDataBaseOracleinclassobackupORA-06512:at"PDB.RUNHOSTCOMMAND",...
ORA-29531: no method backUpDataBaseOracle in class obackup
ORA-06512: at "PDB.RUNHOSTCOMMAND", line 1
CREATE OR REPLACE PROCEDURE RunHostCommand (userNAME IN VARCHAR2,passWORD IN VARCHAR2,dataBaseName IN VARCHAR2,address IN VARCHAR2) AS LANGUAGE JAVA NAME 'obackup.backUpDataBaseOracle(java.lang.String)';
java代码
public class obackup {
public static void backUpDataBaseOracle 展开
ORA-06512: at "PDB.RUNHOSTCOMMAND", line 1
CREATE OR REPLACE PROCEDURE RunHostCommand (userNAME IN VARCHAR2,passWORD IN VARCHAR2,dataBaseName IN VARCHAR2,address IN VARCHAR2) AS LANGUAGE JAVA NAME 'obackup.backUpDataBaseOracle(java.lang.String)';
java代码
public class obackup {
public static void backUpDataBaseOracle 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询