Home » Developer & Programmer » Precompilers, OCI & OCCI » Where can we get some sample code using OCCI? (oracle 10gR2,windows,Linux)
icon7.gif  Where can we get some sample code using OCCI? [message #278595] Mon, 05 November 2007 02:19 Go to next message
sgsoft
Messages: 2
Registered: November 2007
Junior Member
When I use OCCI in my application,I find few sample code.

where can we get some sample code? for eg: OCCI best practice.
Re: Where can we get some sample code using OCCI? [message #278606 is a reply to message #278595] Mon, 05 November 2007 02:42 Go to previous messageGo to next message
Michel Cadot
Messages: 64102
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
$ORACLE_HOME/precomp/demo

OracleŽ C++ Call Interface Programmer's Guide

Regards
Michem

Re: Where can we get some sample code using OCCI? [message #278833 is a reply to message #278595] Mon, 05 November 2007 18:05 Go to previous messageGo to next message
sgsoft
Messages: 2
Registered: November 2007
Junior Member
Thanks very much!

I think the OCCI is not convenient.
May be we can enwrap it into a high level interface like ADO.NET.
Oracle may be do more for users. Haha..
Re: Where can we get some sample code using OCCI? [message #278847 is a reply to message #278833] Mon, 05 November 2007 23:34 Go to previous message
Michel Cadot
Messages: 64102
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
If you want a more convenient way with C/C++ then use Pro*C:

Pro*C/C++ Getting Started 10g Release 2 (10.2) for Microsoft Windows
Pro*C/C++ Programmer's Guide

Regards
Michel
Previous Topic: precompiler error
Next Topic: Problems using OCCI in a old linux version - RedHat 7.2
Goto Forum:
  


Current Time: Fri Dec 02 20:31:15 CST 2016

Total time taken to generate the page: 0.06001 seconds