All Examples  This Package

Class examples.jdbc.oracle.records

java.lang.Object
   |
   +----examples.jdbc.oracle.records

public class records
extends Object
This simple example shows how JDBC is used to execute DDL and DML. It assumes the table empdemo exists. This table is created in the simplesql example.

This example is run on the command line and is output to System.out.

To set up this example:

  1. Set up your development shell as described in Setting up your environment.

  2. 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 WebLogic jDriver for Oracle.

  3. Compile this example by executing the following command in your development shell:

    $ javac -d %CLIENT_CLASSES% records.java

  4. Run this example by executing the following command in your development shell:

    $ java examples.jdbc.oracle.records

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

Constructor Index

 o records()

Method Index

 o main(String[])

Constructors

 o records
 public records()

Methods

 o main
 public static void main(String argv[]) throws Exception

All Examples  This Package