OCL User Guide (1) Introduction
Translation: nxyc_twz@163.com
Oracle Class Library (OCL) provides energy to connect Oracle database servers. OCL uses the Oracle call interface (OCI). OCI is a low-level application interface for accessing the Oracle database. Use Oracle Class Library OCL to allow creating Oracle-based small, high-speed applications. Oracle Class libraries encapsulate OCI calls with advanced classes, which hides the complexity of directly using OCI and retains OCI's performance and the ability of all local transactions. With OCL, you can use powerful, flexible SQL in your application without any restrictions. The OCL contains a public category library for controlling, executing SQL statements, storage, and processing query, and is useful to develop databases. All classes have very intuitive, easy to use interfaces. OCL is written in ANSI C , using standard C class libraries to allow you to easily transplant your application to other platforms. The Oracle class library provides a simple and powerful user interface than using Pro * C / C . OCL allows you:
· Design and develop highly customizable database applications.
· Optimize data processing performance in the application.
· Compile the same application on different platforms.
· Automatically convert between Oracle internal data and advanced language data types.
· Quickly access data records.
· Buffer query result set in memory.
· Use an array input / output program variable.
· Easy to call the stored procedure.
· Get handle errors.
· Use the long field in the database.
In summary, OCL is a powerful tool that supports specialized database applications.