|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.jdbc.mssqlserver4.records
This simple example shows how JDBC can be used to execute DDL and DML.
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% records.java
$ java examples.jdbc.mssqlserver4.records
Constructor Summary | |
records()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public records()
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 |