All Examples   This Package 

Class examples.jdbc.odbc.simpleselect

java.lang.Object
   |
   +----examples.jdbc.odbc.simpleselect

public class simpleselect
extends Object
This simple example shows how data and result set metadata are selected using WebLogic JDBC and the JDBC-ODBC bridge.

To set up this example:

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

  2. Change the ODBC_DSN portion of the URL to match an ODBC Data Source Name (DSN) in your ODBC environment.

  3. Compile the Java file with the following command:

    $ javac -d %CLIENT_CLASSES% simpleselect.java

  4. Start the WebLogic Server.

  5. Run this program from a command line, with:

    $ java examples.jdbc.odbc.simpleselect

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

Constructor Index

 o simpleselect()

Method Index

 o main(String[])

Constructors

 o simpleselect
 public simpleselect()

Methods

 o main
 public static void main(String args[])
Runs this example from the command line.

All Examples  This Package