WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.jdbc.informix4
Class sprocs

java.lang.Object
  |
  +--examples.jdbc.informix4.sprocs

public class sprocs
extends java.lang.Object

This simple example shows how to create and execute a stored procedure using an INFORMIX On-Line DBMS using JDBC.

Build the Example

  1. Open a new command shell.

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

  3. Change connection parameters to correspond to your Informix Server configuration. If you need more help, check the section on connecting to a database in the programming guide, Using WebLogic jDriver for Informix.

  4. Compile this example using the following command line:
      $ javac -d %CLIENT_CLASSES% sprocs.java

Run the Example

  1. Execute the following command in your development shell:
    $ java examples.jdbc.informix4.sprocs

    The program waits after displaying output and requires you to press enter to continue.

There's More

For more information, see Using WebLogic jDriver for Informix.

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

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

Constructor Detail

sprocs

public sprocs()
Method Detail

main

public static void main(java.lang.String[] argv)
Runs the example from the command line.

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

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