Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: OCI wrapper library

RE: OCI wrapper library

From: Mladen Gogala <mladen_at_wangtrading.com>
Date: Thu, 28 Aug 2003 14:24:26 -0800
Message-ID: <F001.005CDCE5.20030828142426@fatcity.com>


I'll send you my OCI wrapper. It was written for V8 and it cannot do object types,
but, on the other hand, it's easy to understand and performs really well. I wrote it
a few years ago and I didn't have enough time to maintain it.

--
Mladen Gogala
Oracle DBA 



-----Original Message-----
Tanel Poder
Sent: Thursday, August 28, 2003 5:39 PM
To: Multiple recipients of list ORACLE-L


Thanks Stephane.

What I want to do is to write a simple transparent transaction manager,
preferrably by having my program listening on a TCP socket. The client would
connect to my written daemon which passes requests on to server and returns
resultst to client.

The purpose? Just fun. And I'd like to advance my C programming skills.

Tanel.

----- Original Message ----- 
To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
Sent: Thursday, August 28, 2003 11:19 AM



> Not sure that I understand quite well what you want to do (catching
statements? Some la Sybase 'Open Server' ?) but it is possible that what is defined in the OCI FM as 'user defined callbacks' is, partly, what you are looking for (I have never used them); I *think* I have read something once in the Oracle docs about functions allowing to write a mock Oracle server but I can't remember where. Don't think it was in the OCI manual. Concerning tcp/ip, an idea which I have toyed with (but not carried very far, like so many ideas) was to use the 'netcat' program which you should find on the web (or anything derived from it) as a frontal to tnslsnr; I have no idea though about how to plug into the dialogue between a client and a dedicated or shared server.
>
> HTH
>
> SF
>
> >----- ------- Original Message ------- -----
> >From: "Tanel Poder" <tanel.poder.003_at_mail.ee>
> >To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> >Sent: Wed, 27 Aug 2003 14:14:26
> >
> >I'm sending this post here, because got no response
> >in c.d.o.s.
> >
> >Does anyone have an example how to write an OCI
> >wrapper library, that I
> >could replace the Oracle OCI library with my own
> >(renaming original =
> >one).
> >Then whatever OCI call is made, it ends up to my
> >library where from I =
> >can pass
> >it on, or modify it before that?
> >
> >Also, any information on doing the same thing using
> >TCP sockets =
> >(mediating
> >between client & server sql*net connection), is
> >welcome as well.
> >
> >Any pointers are welcome, or otherwise... I'll have
> >to figure it out =
> >myself...
> >
> >Tanel.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Stephane Faroult
> INET: sfaroult_at_oriolecorp.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L (or the
> name of mailing list you want to be removed from). You may also send
> the HELP command for other information (like subscribing).
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tanel Poder INET: tanel.poder.003_at_mail.ee Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mladen Gogala INET: mladen_at_wangtrading.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Received on Thu Aug 28 2003 - 17:24:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US