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

Home -> Community -> Usenet -> c.d.o.server -> Re: OCCI Connection Pool on Oracle RAC

Re: OCCI Connection Pool on Oracle RAC

From: Peter Sylvester <peters_no_spam_please_at_not_here.org>
Date: Wed, 05 Oct 2005 09:53:47 -0400
Message-ID: <di0m3e$cik$1@newslocal.mitre.org>


Not necessarily. I suspect that you could run a 10.2 client (OCCI) against a 9.2 database. I have not fully checked but I believe most of the TAF is done on the client side.

--Peter

jose_luis_fdez_diaz_news_at_yahoo.es wrote:

> I am using Oracle 9.2.0, so I guess that I am forced to do it.
> 
> Regards,
> Jose Luis.
> 
> KM wrote:
> 

>>It is possible but you don't have to, if you are using 10.2 OCCI. TAF
>>support has been added in 10.2 OCCI.
>>http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14294/whatsnew.htm#sthref11
>>
>>-KM
>>
>>jose_luis_fdez_diaz_news_at_yahoo.es wrote:
>>
>>>Is it possible from OCCI program to use OCI's library failover callback
>>>as show in the code below:
>>>
>>>. . .
>>> conn = env->createConnection (user, passwd, db);
>>>. . .
>>>
>>> OCIFocbkStruct failover; /* failover callback
>>>structure */
>>> /* allocate memory for context */
>>> failover.fo_ctx = (dvoid *)malloc(strlen("my context."));
>>>
>>> /* initialize the context. */
>>> failover.callback_function = &callback_fn;
>>>
>>> /* do the registration */
>>> OCIAttrSet(conn->getOCIServer(), (ub4) OCI_HTYPE_SERVER,
>>> (dvoid *) &failover, (ub4) 0,
>>> (ub4) OCI_ATTR_FOCBK, errhp)
>>>. . .
>>>
>>>
>>>Thanks,
>>>Jose Luis
>>>

>
> Received on Wed Oct 05 2005 - 08:53:47 CDT

Original text of this message

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