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: Michel Cadot <micadot{at}altern{dot}org>
Date: Sat, 18 Sep 2004 17:57:27 +0200
Message-ID: <414c5a75$0$15565$636a15ce@news.free.fr>

"Jason Liang" <jxnliang_at_yahoo.co.jp> a écrit dans le message de 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.
>
>

IIRC sharing connexion between forked processes is not supported.

-- 
Regards
Michel Cadot
Received on Sat Sep 18 2004 - 10:57:27 CDT

Original text of this message

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