All Examples  This Package

Class examples.jdbc.oracle.spcursors

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

public class spcursors
extends Object
This type of cursor support exists only in Oracle 7.2 and later. Refer to the file "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 WebLogic jDriver for 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-2000 by BEA Systems, Inc. All Rights Reserved.

Constructor Index

 o spcursors()

Method Index

 o main(String[])

Constructors

 o spcursors
 public spcursors()

Methods

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

All Examples  This Package