WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.jdbc.oracle
Class login

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

public class login
extends java.lang.Object

This simple example shows the alternatives for making a JDBC connection to an Oracle instance.

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

Build the Example

  1. Open a new command shell.

  2. Set up this development shell as described in Setting up Your Environment for Building and Running the Examples.

  3. Change connection parameters to correspond to your Oracle configuration. If you need more help, check the section on connecting to a database in the programming guide, Using WebLogic jDriver for Oracle.

  4. Compile this example using the following command line:
      $ javac -d %CLIENT_CLASSES% login.java

Run the Example

There's More

For more information about the WebLogic jDriver for Oracle, see Installing and Using WebLogic jDriver for Oracle.

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

Constructor Summary
login()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

login

public login()
Method Detail

main

public static void main(java.lang.String[] argv)

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.