|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.jdbc.mssqlserver4.storedprocs
This simple example shows how to create and execute stored procedures, and get the results.
This example is run on the command line and is output to System.out.
Please note that this example uses a simple method for obtaining result sets, update counts, and/or the output parameter values it may generate. This is always possible with simple, known queries. When executing complex or unknown possibly multi-statement SQL or stored procedures, you should use the example in complexproc.java to ensure that all results become available.
$ set CLASSPATH=%WL_HOME%/lib/mssqlserver4v65.jar;%CLASSPATH%
$ javac -d %CLIENT_CLASSES% storedprocs.java
$ java examples.jdbc.mssqlserver4.storedprocs
Constructor Summary | |
storedprocs()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public storedprocs()
Method Detail |
public static void main(java.lang.String[] argv)
|
Documentation is available at http://e-docs.bea.com/wls/docs60 |
|||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |