Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: OCCI Connection Pool on Oracle RAC
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 callbackstructure */
/* 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 - 05:47:09 CDT
![]() |
![]() |