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 -> Oracle C++ and Threading

Oracle C++ and Threading

From: John Walton <jkwalton_at_gte.net>
Date: 1997/09/11
Message-ID: <5v7fth$83t$1@gte2.gte.net>#1/1

Has anyone had experience with threading oracle sql in c++? I would like to know if its possible to declare host variables as private within a class.

The threading comes into play because I want a thread to handle a particular object and allow that object to access the database. I am using an orb and need the threading to allow multiple client access though the object.

I have seen the examples that use a sql_context for each thread, but the logon procedure is missing. Do you still do a connect? Is there a connect for each sql_context or are all context's associated with the same connection?

Thanks,
John W. Received on Thu Sep 11 1997 - 00:00:00 CDT

Original text of this message

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