All Examples  This Package

Class examples.jdbc.oracle.t3spcursors

java.lang.Object
   |
   +----examples.jdbc.oracle.t3spcursors

public class t3spcursors
extends Object
This type of cursor support is only in Oracle 7.2 and newer. Refer to spcursors.sql for the PL/SQL that defines these Stored Procedures.

To set up this example:

  1. Set up your development shell as described in Setting up your environment.

  2. Change connection parameters to correspond to your Oracle configuration. If you need more help, check the section on connecting to a database in the Developers Guide, Using jdbcKona/Oracle.

  3. Compile this example by executing the following command in your development shell:

    $ javac -d %CLIENT_CLASSES% spcursors.java

  4. Execute the stored procedures in the file spcurslrs.sql in the same directory as this example using Oracle SQL/Plus. Use the DEMO database.

  5. Run this example by executing the following command in your development shell:

    $ java examples.jdbc.oracle.spcursors

Author:
Copyright (c) 1997-1999 by BEA WebXpress, Inc. All Rights Reserved.

Constructor Index

 o t3spcursors()

Method Index

 o main(String[])

Constructors

 o t3spcursors
 public t3spcursors()

Methods

 o main
 public static void main(String argv[]) throws Exception

All Examples  This Package