****************************************************************************
+----------------------------------------------------------------------+
| |
| OCILIB - C Driver for Oracle |
| |
| (C Wrapper for Oracle OCI) |
| |
+----------------------------------------------------------------------+
| |
| Website : http://WWW.ocilib.net |
| |
+----------------------------------------------------------------------+
| |
| Copyright (c) 2007-2013 Vincent ROGIER |
| |
+----------------------------------------------------------------------+
| |
| (WINDOWS PACKAGE) |
| |
+----------------------------------------------------------------------+
****************************************************************************
DESCRIPTION
===========
OCILIB is an open source and portable Oracle Driver that delivers really fast and reliable access to Oracle databases.
The OCILIB library :
* offers a rich, full featured and easy to use API
* runs on all Oracle platforms
* is written in pure ISO C code with native ISO C Unicode support
* encapsulates OCI (Oracle Call Interface)
* is the most complete available OCI wrapper
VERSION
========
3.12.1
FEATURES
========
* Full Ansi and Unicode support on all platforms (ISO C wide strings or UTF8 strings)
* Full 32/64 bits compatibility
* Comptabile with all Oracle version >= 8i
* Automatic adaptation to the runtime Oracle client version
* Runtime loading of Oracle libraries
* Builtin error handling (global and thread context)
* Full support for SQL API and Object API
* Full support for ALL Oracle SQL and PL/SQL datatypes (scalars, objects, refs, collections, ..)
* Full support for PL/SQL (blocks, cursors, Index by Tables and Nested tables)
* Support for non scalar datatype with trough library objects
* Oracle Pooling (connections and sessions pools)
* Oracle XA connectivity (X/Open Distributed Transaction Processing XA interface)
* Oracle AQ (Advanded Queues)
* Oracle TAF (Transparent Application Failover) and HA (High availabality) support
* Binding array Interface
* Returning DML feature
* Scrollable statements
* Statement cache
* Direct Path loading
* Remote Instances Startup/Shutdown
* Oracle Database Change notification / Continuous Query Notification
* Oracle warnings support
* Global and local transactions
* Describe database schema objects
* Hash tables API
* Portable Threads and mutexes API
DOWNLOAD
========
Available at Sourceforge.net:
URL : http://orclib.sourceforge.net
LICENSE
=======
The source code is free source code.
It's licensed under GNU LESSER GENERAL PUBLIC LICENSE (LGPL).
(see the file lgpl-license.txt)
COMPATIBILITY
=============
This current source is pure ISO C and should compile with any C90 Compliant compiler
for ansi version and C99 for Unicode versions.
Validated Platforms :
- Windows
- UP/UX
- Linux
- Solaris
- AIX
- Mac OS X
- OpenVMS (full validation pending)
Validated Compilers :
- GCC / MinGW
- MS Compilers
- XLC
- CCs
- LabView
Validated Oracle versions :
- Oracle 8i
- Oracle 9i
- Oracle 10g
- Oracle 11g
INSTALLATION (WINDOWS)
============
Precompiled OCILIB dynamic libraries are provided for Microsoft Windows :
- ocilib\lib32 : 32bits binaires
- ocilib\lib64 : 64bits binaires
Precompiled OCILIB static libraries are provided for Microsoft Windows :
- ocilib\lib32 : 32bits binaries
2 methods :
1/
- add the ocilib\include directory to your include's path
- add the ocilib\lib32|64 directory to your libraries path
- add the ocilib\lib32|64 directory to your windows path
2/
- copy ocilib\include\ocilib.h to any place located in your include's path
- copy ocilib\lib32|64\ocilib[x].lib to any place located in your libraries path
- copy ocilib\lib32|64\ocilib[x].dll to any place located in your windows path
- copy ocilib\lib32\libocilib[x].a to any place located in your windows path
LIBRARY BUILDS (WINDOWS)
==============
OCILIB supports 3 builds options on Windows platforms :
1/ oracle import (linkage or runtime loading)
On win32, the provided build were compiled using is runtime loading.
If you want to import Oracle OCI at linkage time , you need to rebuild the libraries
Defines :
- OCI_IMPORT_LINKAGE for linkage at compile time
- OCI_IMPORT_RUNTIME for runtime loading
if no import mode is set, the library sets the default to OCI_IMPORT_LINKAGE
2/ charset (ansi, wide, mixed)
this pakcage provides 3 OCILIB Dlls (32bits and 64bits) :
- ociliba.dll (ANSI / UTF8 version)
- ocilibw.dll (UNICODE/UFT16/USC2/wchar_t version)
- ocilibm.dll (ANSI / UTF8 for meta data, UNICODE for user data - often used with Oracle 8i)
this package provides 3 OCILIB static libs (32 bits only) :
- libociliba.a (ANSI / UTF8 version)
- libocilibw.a (UNICODE/UFT16/USC2/wchar_t version)
- libocilibm.a (ANSI / UTF8 for meta data, UNICODE for user data - often used with Oracle 8i)
Defines :
- OCI_CHARSET_ANSI for ansi / UTF8
- OCI_CHARSET_WIDE for unicode (wide strings)
- OCI_CHARSET_MIXED for third mixed mode (often used with Oracle 8i)
if no charset mode is set, the library sets the default to OCI_CHARSET_ANSI
3/ calling convention
On win32, the default calling convention is __stdcall.
So the OCILIB function using a variable number or parameters (OCI_xxxxFmt) won't work
If you need them, modify the preprocessor options to change OCI_API to __cdecl and rebuild !
Defines :
- OCI_API = __stdcall to link OCILIB to any language independent module
- OCI_API = __cdecl (or no value) for C/C++ only !
if no charset mode is set, the library sets the default to no value
To rebuild the dynamic libraries (MS Visual Studio) :
- open the dll project ocilib\proj\dll\ocilib_dll_vs200x.sln
- do a batch build
To rebuild the static libraries (Code::blocks) :
- open the static project ocilib\proj\mingw\ocilib_static_lib_mingw.cbp
- do a batch build
BUILD DEMO (WINDOWS)
==========
1/ run an already built demo
- run ocilib_demo.exe located in ocilib\proj\test\Win32|64\release [build]
2/ build a demo
- open the test project ocilib\proj\test\ocilib_demo_vs200x.sln or ocilib_demo_codeblocks.cbp
- choose an configuration
- build
MAKE ANY PROGRAM WITH OCILIB (WINDOWS)
============================
1/ use the prebuilt Dlls
- add ocilib/include folder to your compiler includes path
- add ocilib/lib folder to your linker library path
- For MinGW only, rename/copy ocilib[x].lib to libocilib[x].a
- add ocilib[x].lib (or -locilib[x] from MinGw) to your linking options
- add OCI_CHARSET_XXX macro to your preprocessor options
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
oracle数据库接口oci的封装ocilib (270个子文件)
libocilibw.a 395KB
libocilibm.a 385KB
libociliba.a 383KB
statement.c 123KB
resultset.c 75KB
library.c 74KB
connection.c 66KB
ocilib_demo.c 53KB
object.c 53KB
dirpath.c 45KB
column.c 39KB
element.c 38KB
lob.c 36KB
timestamp.c 30KB
exception.c 30KB
dequeue.c 29KB
string.c 29KB
queue.c 27KB
msg.c 27KB
pool.c 26KB
bind.c 25KB
callback.c 23KB
date.c 22KB
typeinfo.c 21KB
interval.c 20KB
file.c 20KB
define.c 17KB
subscription.c 15KB
collection.c 15KB
hash.c 15KB
ref.c 14KB
number.c 13KB
array.c 13KB
format.c 13KB
dirpath_complete.c 13KB
enqueue.c 12KB
handle.c 12KB
long.c 11KB
transaction.c 10KB
memory.c 10KB
agent.c 9KB
threadkey.c 9KB
list.c 9KB
error.c 8KB
thread.c 8KB
iterator.c 7KB
mutex.c 7KB
event.c 6KB
notification.c 5KB
geometry.c 3KB
coll.c 3KB
queue_async.c 3KB
main.c 2KB
dirpath.c 2KB
long.c 2KB
object.c 2KB
file.c 2KB
scroll.c 2KB
fetch_struct.c 1KB
ref.c 1KB
hash.c 1KB
array.c 1KB
format.c 1KB
lob.c 1KB
pool.c 1KB
queue.c 1KB
date.c 1KB
desc.c 1KB
plsql_table.c 1KB
abort.c 1KB
rowid.c 1KB
thread.c 1KB
output.c 863B
cursor.c 847B
array_internal.c 840B
timestamp.c 814B
meta.c 747B
instance.c 746B
err.c 700B
returning.c 695B
exec.c 667B
err_warning.c 648B
fetch.c 637B
conn.c 606B
bind.c 580B
err_ctx.c 573B
plsql_block.c 570B
init.c 226B
ocilib_static_lib_mingw.cbp 6KB
ocilib_demo_codeblocks.cbp 2KB
doxygen.css 12KB
tabs.css 1KB
ocilibw.dll 380KB
ocilibm.dll 379KB
ociliba.dll 359KB
ocilibw.dll 296KB
ocilibm.dll 290KB
ociliba.dll 278KB
ocilib.h 414KB
oci_defs.h 55KB
共 270 条
- 1
- 2
- 3
资源评论
- dalin19862018-05-03非常方便,相当详细的介绍
- shixun862015-02-12有个 应用的实例就更加明吧了
- ritxgt122013-11-15我写的远程连接数据库,客户端要装ORACLE,一直在找一种方式,客户端不用装oracle也能远程连接oracle,这个就是,很不错,不过有点儿看不懂
- bboxxxx2017-11-22非常不错的一本OCI的介绍,相当详细
极乐净土0822
- 粉丝: 194
- 资源: 54
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 老飞飞搭建基础通用数据库V19数据库.rar
- jquery.js
- 机械设计多工位ACF贴胶带&预压设备sw18可编辑非常好的设计图纸100%好用.zip
- 基于Pytorch复现Point-Transformer,用于ShapeNet数据集点云分割
- 【医学影像分析】2D超声图像的分割检测(Ultrasound Nerve Segmentation - Kaggle数据集)
- 嘎嘎香的五款神仙谷歌插件
- .arch书源导入教程.mp4
- 贪心算法介绍及代码示例讲解
- CR13SP35MSI64 Crystal 水晶报表运行组件最后版本64位
- 图像分类数据集:玉米叶是否感染分类数据集(2分类,包含训练集、验证集)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功