WebLogic Server 7.0 Code Examples, BEA Systems, Inc.

examples.jdbc.oracle
Class storedprocs

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

public class storedprocs
extends java.lang.Object

This example demonstrates syntax and usage for Oracle stored procedures and functions. The code shows how to create and call stored procedures and functions and how to register parameters.

Build the Example

  1. In the %SAMPLES_HOME%\examples.properties file, specify a value for the following properties:

    The ant scripts for building and running the example use properties set in this file.

  2. Open a new command shell.

  3. Set up this development shell as described in Setting up Your Environment for Building and Running the Examples.

    For complete information, see Setting Up the Environment for Using WebLogic jDriver for Oracle in Installing and Using WebLogic jDriver for Oracle. The following sections contain instructions for specific platforms:

  4. Compile the example by executing the following command:

      prompt> ant

    Note: This script builds all of the examples in the oracle directory.

Run the Example

There's More

For more information about the WebLogic jDriver for Oracle, see Installing and Using WebLogic jDriver for Oracle.

Author:
Copyright (c) 1996-2002 by BEA Systems, Inc. All Rights Reserved.

Constructor Summary
storedprocs()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

storedprocs

public storedprocs()
Method Detail

main

public static void main(java.lang.String[] argv)

Documentation is available at
http://e-docs.bea.com/wls/docs70

Copyright © 2002 BEA Systems, Inc. All Rights Reserved.