Volunteers sought to help with or take over Oracle::OCI



The Oracle::OCI module provides access to the entire Oracle OCI
interface. Every feature Oracle offers can be accessed via OCI.
Including Transparent Application Failover (TAF) and bulk loading.

The Oracle::OCI module bootstraps itself at build time. Automatically
creating perl interfaces to all the OCI functions in your installed
version of Oracle.

It lets you write OCI code in perl:

OCIHandleAlloc($env, my $dschp, OCI_HTYPE_DESCRIBE, 0, 0);
OCIDescribeAny($dbh, $dbh, oci_buf_len($table), OCI_OTYPE_NAME, 1, OCI_PTYPE_TABLE, $dschp);
OCIAttrGet($dschp, OCI_HTYPE_DESCRIBE, my $parmp, 0, OCI_ATTR_PARAM, $dbh, 'OCIParamPtr');
OCIAttrGet($parmp, OCI_DTYPE_PARAM, my $numcols, 0, OCI_ATTR_NUM_COLS, $dbh, 2);
OCIAttrGet($parmp, OCI_DTYPE_PARAM, my $collst, 0, OCI_ATTR_LIST_COLUMNS, $dbh, 'OCIParamPtr');

That may seem a little low-level, but that's not the point.
This is an enabling technology and what it enables is huge:
access to the *entire* Oracle OCI interface.

Soon there'd be modules built on top of Oracle::OCI that provide
higher-level interfaces to specific areas of functionality, like LOBs,
bulk loading, objects, advanced queuing, etc etc.

Oracle::OCI also integrates very well with DBI and DBD::Oracle.
You can use a $dbh or $sth wherever it would be reasonable to.

I've not worked on it since 2001 as I very rarely use Oracle these days.
The Oracle::OCI module had moved beyond proof-of-concept but still
needs a little love before it's ready for prime-time.

Interesting? Interested?

Tim.
.



Relevant Pages

  • Re: Volunteers sought to help with or take over Oracle::OCI
    ... Every feature Oracle offers can be accessed via OCI. ... The Oracle::OCI module bootstraps itself at build time. ... access to the *entire* Oracle OCI interface. ...
    (perl.dbi.users)
  • Re: Volunteers sought to help with or take over Oracle::OCI
    ... Every feature Oracle offers can be accessed via OCI. ... creating perl interfaces to all the OCI functions in your installed ... access to the *entire* Oracle OCI interface. ...
    (perl.dbi.users)
  • Re: DBD::Oracle 1.19 failing to make
    ... Your Oralce client 8.0.5.0.0 is most likly too old to use the latest version of DBD. ... There were a number of changes in the OCI for the 9x version especially in the area of Batch feeding and this is where you are getting your errors. ... Can you tell me which version of the Oracle client you are using as I also see a funny warning in that it cannot find SQL*Plus. ...
    (perl.dbi.users)
  • Re: Oracle & DB2 source code
    ... different interface than your assumptions. ... comment above implies Oracle doesn't support ODBC or EXEC SQL. ... to DB2 from Cobol you might be using a special interface that is not ...
    (comp.databases.oracle.server)
  • Re: Accessing Oracle 9i tables on a Linux box
    ... The Oracle .Net Managed client is built upon the Oracle Call Interface ... - and that is the same interface that the MSFT provider is built upon. ... OCI is in turn implemented upon the Net8 protocol stack and the Two Task ...
    (microsoft.public.dotnet.framework.adonet)