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 and scrollable cursors

Re: OCCI and scrollable cursors

From: Dave <solomons_dad.w.marks_and_whom_at_oracle.com>
Date: Wed, 26 Jul 2006 11:35:49 +0100
Message-ID: <qSHxg.17$B25.83@news.oracle.com>


Mathias Waack wrote:
> Hi all,
>
> I'm currently using OCCI (the C++ call interface) - which is very nice.
> Unfortunately I've encountered a situation where scrollable cursors seems
> to be the right way to solve a problem. I don't have any experiences with
> scrollable cursors and the documentation (I'm using 10g) contains
> information only for OCI (which is really ugly compared to OCCI, at least
> from the C++ programmers point of view).
>
> Is it possible to use scrollable cursors from within OCCI or should I better
> switch to OCI?
>
> Tanks
> Mathias

If by "switch to OCI" you mean rewriting the entire application in OCI that is probably overkill. Scrollable cursors are planned but not yet implemented, but you could use OCCI/OCI interoperability and get a scrollable cursor through OCI. Lookup the Connection class methods getOCIServer(), getOCIServiceContext() and getOCISession(). Received on Wed Jul 26 2006 - 05:35:49 CDT

Original text of this message

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