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:
- Set up your development shell as described in Setting up your environment.
- 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.
- Compile this example by executing the following command in your development shell:
$ javac -d %CLIENT_CLASSES%
spcursors.java
- Execute the stored procedures in the
file spcurslrs.sql in the same
directory as this example using Oracle SQL/Plus. Use the DEMO
database.
- 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.
-
spcursors()
-
-
main(String[])
-
spcursors
public spcursors()
main
public static void main(String argv[]) throws Exception
All Examples This Package