All Examples This Package
Class examples.jdbc.t3client.storedprocs1
java.lang.Object
|
+----examples.jdbc.t3client.storedprocs1
- public class storedprocs1
- extends Object
This example demonstrates the syntax and usage for Microsoft SQL
Server stored procedures and functions and requires that you have the
WebLogic Type 4 SQL Server driver, jdbcKona/MSSQLServer4 installed on
your system. This driver is available separately from BEA Systems. The
code shows how to create and call stored procedures and how to
register parameters.
To set up this example:
- Set up your development shell as described in Setting up your environment.
- Change connection parameters to correspond to your database
configuration. If you need more help, check the section on connecting
to a database in the Developers Guide, Using jdbcKona/MSSQLServer4.
- Compile the example by executing the following command in your development shell:
$ javac -d %CLIENT_CLASSES% storedprocs1.java
- Start WebLogic Server in a separate shell. Be sure to place
the classes for the jdbcKona/MSSQLServer4 JDBC driver in the weblogic.class.path when you start
WebLogic Server.
- Run this example by executing the following command in your
development shell:
$ java examples.jdbc.t3client.storedprocs1
- Author:
- Copyright (c) 1996-1999 by BEA Systems, Inc. All Rights Reserved.
-
storedprocs1()
-
-
main(String[])
- Runs this example from the command line.
storedprocs1
public storedprocs1()
main
public static void main(String[] argv) throws Exception
- Runs this example from the command line.
All Examples This Package