下面是一个《Oracle Database Java Developer's Guide》上的例子:
----------------------------------------------------------------
1 Create or Reuse the Java Classes
public class Oscar {
public static String quote() {
return "I can resist everything except temptation.";
}
}
javac Oscar.java
---------------------------------------------------------------
2 Load and Resolve the Java Class
loadjava -user scott/tiger Oscar.class
---------------------------------------------------------------
3 Publish the Java Classes
SQL > connect scott/tiger
SQL > create function oscar_quote return varchar2
2 as language java
3 name 'Oscar.quote() return java.lang.String'
4/
警告: 创建的函数带有编译错误。
=========================================================
我按书上的步骤往下做,出现了上面的那个警告信息,几次都是这样,
大家能告诉这是什么原因吗?谢谢!!!