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 08:00:49 -0700
Message-ID: <caf30d77.0409180700.1e243a01@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 - 10:00:49 CDT

Original text of this message

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