create or replace and compile java source named hello as public class Hello { static public String Message(String name) { return " Hello, " + name; } } /
2 发布JAVA程序
create or replace function hello (name VARCHAR2 ) return VARCHAR2 as language java name ' Hello.Message (java.lang.String) return java.lang.String ' ; /