ocilib(简介)

1. OCILIB is an open source and cross platform Oracle library that delivers really efficient and reliable access to Oracle databases.

OCILIB是一个开源的、跨平台的Oracle库,提供真正有效和可靠的访问  到Oracle数据库

2. Oracle Call Interface (OCI) is an API provided by Oracle that allows developers to create applications using low C/C++ calls to access to Oracle databases.

OCI controls all aspects of running SQL statements while supporting data types, calling conventions, syntax and semantics of C, C++ languages.

OCI is a very powerful API (this is the lowest level API provided by Oracle) and used by many applications

and tools (starting with SQL*Plus, SQL*Loader and all Oracle products) but also very complex and heavy to use...

For example, connecting to an Oracle database requires at least almost 100 lines of code!

In addition, most functions of OCI often require a list of arguments fairly consistent (like a dozen parameters) and complex (almost exclusive manipulation of pointers, pointers of pointers, etc. ...).

Thus, an OCI application is often difficult to code, read and maintain!

Oracle调用接口(OCI)是一个API由Oracle提供,它允许开发人员创建应用程序  使用低C / c++调用访问Oracle数据库。OCI控制运行SQL语句的所有方面  同时支持数据类型、调用约定,语法和语义的C、c++语言。  OCI是一个非常强大的API(这是最低级别API提供的Oracle)和由许多应用程序使用  和工具(从SQL *另外,SQL *装载机和所有的Oracle产品),但也非常复杂和沉重的  使用…   例如,连接到Oracle数据库需要至少近100行代码!   此外,大多数功能常常要求OCI的参数列表相当一致的(比如一打  参数)和复杂的(几乎独家操纵指针,指针的指针,等等……)。  因此,一个OCI应用程序总是很难代码,阅读和维护!

你可能感兴趣的:(lib)