简体   繁体   中英

Java Web Service Client class call from Oracle DB server

我正在使用一个Java Web Service客户端类,为了从Oracle数据库中调用该类,我应该使该类中的可访问方法静态吗?

Yes.

CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "Your_Class_Source" as 
public class Your_Class {
   public static void Your_Java_Func() {

   }
};

CREATE OR REPLACE PROCEDURE Your_PLSQL_Procedure
AS LANGUAGE JAVA NAME 'Your_Class.Your_Java_Func()';

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM