|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. |
See:
Description
Class Summary | |
query | This simple example shows how to connect and execute queries with dbKona. |
records | This example constructs a dbKona TableDataSet for inserting, updating, and deleting records from an Oracle database. |
rowid | This example constructs a TableDataSet for inserting, updating, and deleting records from an Oracle database. |
sequences | This class demonstrates using a dbKona Sequence object to create, use, and drop an Oracle sequence. |
This package contains several simple, standalone examples for how to carry out queries, how to retrieve records, how to use an Oracle ROWID as a key, and how to set up a sequence with dbKona.
In general, you'll need to adjust certain database properties in each example to match your database setup. The examples use the "emp" table in the Oracle database DEMO that is usually installed with your Oracle installation. You can substitute another database, but you must change the database-specific properties in each example to connect to and work with that database. (We ship the SQL for the "emp" table in the file samples/examples/utils/ddl/demo.ddl). If you need more information than is provided in the Java files about how to connect to your database, read the instructions in the Developers Guide for your JDBC driver. For more information on WebLogic JDBC resources refer to Programming WebLogic JDBC.
Instructions for building and running these examples are listed on each of the pages seperately.
|
Documentation is available at http://e-docs.bea.com/wls/docs60 |