All Examples This Package
Class examples.jdbc.t3client.simpleselect
java.lang.Object
|
+----examples.jdbc.t3client.simpleselect
- public class simpleselect
- extends Object
This simple example shows how data and result set metadata are
selected with JDBC. This example uses the Cloudscape database which is
supplied in an evaluation version with WebLogic Server. The table
emp already exists in the demo database shipped with WebLogic
Server. This example also illustrates how to connect to the WebLogic
Server with an implicit connection that doesn't require instantiation
of a T3Client.
To set up this example:
- Set up your development shell as described in Setting up your environment.
- Modify simpleselect.java with the host name and port number for your WebLogic Server.
- Compile the example by executing the following command in your development shell:
$ javac -d %CLIENT_CLASSES% simpleselect.java
- Start WebLogic Server in a separate shell.
- Run this example by executing the following command in your
development shell:
$ java examples.jdbc.t3client.simpleselect
- Author:
- Copyright (c) 1996-1999 by BEA Systems, Inc. All Rights Reserved.
-
simpleselect()
-
-
main(String[])
- Runs this example from the command line.
simpleselect
public simpleselect()
main
public static void main(String[] argv) throws Exception
- Runs this example from the command line.
All Examples This Package