All Examples This Package
Class examples.jdbc.oracle.simplesql
java.lang.Object
|
+----examples.jdbc.oracle.simplesql
- public class simplesql
- extends Object
This simple example shows how to execute DDL and DML via JDBC.
This example is run on the command line and is output to
System.out.
To set up this example:
- Set up your development shell as described in Setting up your environment.
- Change connection parameters to correspond to your Oracle configuration.
If you need more help, check the section on connecting
to a database in the Developers Guide, Using jdbcKona/Oracle.
- Compile this example by executing the following command in your development shell:
$ javac -d %CLIENT_CLASSES% simplesql.java
- Run this example by executing the following command in your development shell:
$ java examples.jdbc.oracle.simplesql
- Author:
- Copyright (c) 1997-1999 by BEA WebXpress, Inc. All Rights Reserved.
-
simplesql()
-
-
main(String[])
-
simplesql
public simplesql()
main
public static void main(String argv[]) throws Exception
All Examples This Package