Oracle on Linux

Chaitanya Chalasani chaitanya@REDACTED
Fri Jun 9 12:23:12 CEST 2006


On Friday 26 May 2006 19:50, Sebastian Bello wrote:
> Chaitanya,
>
> thanks for the source code.
>
> Some additional questions:
> 1- do you use multiple connections to Oracle? How would/do you manage it
> (resolved in the C++ class or with multiples ports)?
I am using multiple ports.

> 2- how do you encode/decode responses (mainly in the case of SELECT
> statements)? Do you read responses at the Erlang side as binaries and then
> create the corresponding Erlang datatypes, or do you use ei to generate
> Erlang datatypes on the C side?
No i read as stdout content of C binary and parse it on my own.

> 3- how do you multiplex queries (use for example a PID  to identify the
> requester and return the response to it)?
Thread spawn on request is used so the port application running would serve 
that particular thread only.

>
> Thank you very much for your help!
> Regards,
>     Sebastian-
>
>
> ----- Original Message -----
> From: "Chaitanya Chalasani" <chaitanya@REDACTED>
> To: "Joel Reymont" <joelr1@REDACTED>
> Cc: "Erlang Questions" <erlang-questions@REDACTED>
> Sent: Wednesday, May 24, 2006 1:44 AM
> Subject: Re: Oracle on Linux
>
> > On Thursday 18 May 2006 15:57, Chaitanya Chalasani wrote:
> > > On Tuesday 02 May 2006 15:30, Joel Reymont wrote:
> > > > Folks,
> > > >
> > > > Is anyone using Oracle with Erlang on Linux? Are you using a
> > > > commercial ODBC driver?
> > > >
> > > > I'm ideally looking for an OCI binding or a free Linux ODBC driver.
> > > >
> > > > Thanks, Joel
> > > >
> > > > --
> > > > http://wagerlabs.com/
> > >
> > > I am away from my office all there days. The day I am back I will share
>
> the
>
> > > source. I have already got the nod from my manager.:)
> >
> > The attachment is the c++ code of occi interface that acts as port
>
> executable.
>
> > Sorry for the delay

-- 
CHAITANYA CHALASANI
MEMBER - TECHNICAL TEAM
PYRO NETWORKS PVT LTD
MOBILE: +919849901241
URL: www.pyronetworks.com



More information about the erlang-questions mailing list