perl.dbi.dev
[Top] [All Lists]

[patch] DBD::Oracle - Support for array binds.

Subject: [patch] DBD::Oracle - Support for array binds.
From: Alexander V Alekseev
Date: Thu, 6 Sep 2007 01:40:04 +0400 MSD
Newsgroups: perl.dbi.dev
                Hello!

        A preliminary version of OCI array bind patch attached.
Apply to the latest trunk release.
        Usage example also attached.

1) Only Varchar2 tables are supported. ( SYS.DBMS_SQL.VARCHAR2_TABLE )
2) utf8 is untested. Seems to currupt utf8 data on truncate.
3) Untested.

        I plan to support bind of SYS.DBMS_SQL.NUMBER_TABLE also.


        As I'm new to perl api, your comments are welcome.

        Also, I cannot test the whole functionality much. So, bug
reports are welcome.

                Bye. Alex.

Attachment: test-array-bind.pl
Description: Text document

Attachment: dbd-oracle-trunk-r9916-array-bind.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>