Skip Headers

Oracle9i OLAP Developer's Guide to the OLAP API
Release 2 (9.2)

Part Number A95297-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

Connecting to a Data Store, 6 of 6


Closing a Connection

When you have completed your work with the data store, use the close method on the JDBC Connection object. In the following sample code, the Connection object is called conn.

Example 3-7 Closing a Connection

conn.close();

If you are finished using the OLAP API, but you want to continue working in your JDBC connection to the database, use the close method on your DataProvider to release the OLAP API resources. In the following example code, the DataProvider is called dp.

dp.close();


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 2000, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback