Which JDK version does Oracle 9.2 support for stored procedures?

From: Roger Sheldon (rogersheldon_at_yahoo.com)
Date: 12/14/03

  • Next message: Tony Dahlman: "Re: Sample Java code requested"
    Date: 13 Dec 2003 16:34:51 -0800
    
    

    Hi,

    I've got Oracle 9.2 and I would like to write a java stored procedure
    which invokes code from a Java 1.3 jar file, but it seems I'm out
    of luck.

    >From looking at the examples in C:\oracle\ora92\javavm\demo\examples\
    it appears that only JDK 1.1 and 1.2 are supported.

    I compiled Hello.java using javac from JDK 1.3 then loaded and published
    the Hello.world() method, but it didn't work.

    But if I compile it via:
       javac -target 1.2 Hello.java
    then it *does* work.

    So am I missing something here, or is Oracle really only
    supporting 1.2 for java stored procedures?

    Thanks

    Roger


  • Next message: Tony Dahlman: "Re: Sample Java code requested"

    Relevant Pages

    • Java Stored Procedures and ODBC
      ... Let's assume that we are dealing with java stored procedure which need ... to access some odbc sources that are installed on system that Oracle ... Is there w way to do this form inside an oracle ... its not possible to connect such dll to java stored procedure. ...
      (comp.databases.oracle.misc)
    • Connection to different databases from Oracle Java Stored Procedure
      ... Is it possible to make JDBC connection to a Sybase DB from whithin an ... Oracle 9i java stored procedure. ...
      (comp.lang.java.databases)