Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: OCCI and scrollable cursors
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