|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--examples.dbkona.sequences
This class demonstrates using a dbKona Sequence object to create, use, and drop an Oracle sequence. A dbKona Sequence object is a wrapper for an Oracle sequence.
To run this example, you'll need an Oracle database. The example is executed from the command line and results are displayed to standard out.
The following section describes how to build and run the examples:
set PATH=%PATH%;C:\bea\weblogic700\server\bin\oci817_8
set CLASSPATH=%CLASSPATH%;C:\bea
Properties props = new Properties();
props.put("user", "scott");
props.put("password", "tiger");
props.put("server", "DEMO");
You may need to replace these values to fit your configuration.
prompt> ant, or
prompt> javac -d %CLIENT_CLASSES% sequences.java
prompt> ant run_sequences
| Constructor Summary | |
sequences()
|
|
| Method Summary | |
static void |
main(java.lang.String[] argv)
Here the JDBC connection is configured and made. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public sequences()
| Method Detail |
public static void main(java.lang.String[] argv)
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||