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

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to use OCI/ODBC in multi-process programs?

Re: How to use OCI/ODBC in multi-process programs?

From: Jason Liang <jxnliang_at_yahoo.co.jp>
Date: 18 Sep 2004 16:49:14 -0700
Message-ID: <caf30d77.0409181549.38ff49d9@posting.google.com>


Are there other tools available to call from C, which can implement my progam?

Regards,

Jason Liang.

jxnliang_at_yahoo.co.jp (Jason Liang) wrote in message news:<caf30d77.0409180700.1e243a01_at_posting.google.com>...
> Thanks Michel.
>
> I can't use thread, because I have to use another library that is not
> thread-safe.
>
> I know if I open a file before forking a process, then the child
> process will inherate the open file descriptor. I am not sure if a
> child process inherate an open database connection - using OCI or
> ODBC.
>
>
> Regards,
>
> Jason Liang.
>
>
>
>
> jxnliang_at_yahoo.co.jp (Jason Liang) wrote in message news:<caf30d77.0409171949.2bf9d385_at_posting.google.com>...
> > All,
> >
> > I have a multi-process program on HP-UX 11i enviroment, this program
> > accesses Oracle database.
> >
> > Because the number of processes may be 20 or more, I need to create a
> > shared connection among these processes.
> >
> > Could you tell me what interface(OCI or ODBC) can be used for this
> > purpose, and how to use it?
> >
> > Thanks in advance.
> >
> > Sincerely,
> >
> >
> > Jason Liang
Received on Sat Sep 18 2004 - 18:49:14 CDT

Original text of this message

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