You should look for do_bind_array_exec and ora_st_execute_array which
are buried someplace in dbdimp.c but before you even look at that code
you should be familiar with
OCIBindByName and OCIBindDynamic which can be found here
http://download-uk.oracle.com/docs/cd/B14117_01/appdev.101/b10779/oci15re5.htm
BTW without a sound grounding in C programming with OIC you will not
get very far. The PERL part of DBD::Oracle is minimal but very important
so one might not be able to transcribed it into another language.
cheers
John Scoles
Liming Lian wrote:
Hi all,
I am neither a Perl user nor a Perl developer. I want to implement
Array DML functionality in RUBY's oracle driver Ruby-OCI8. Before my
actual work starts, I searched the web to see if there are any
implementations in other languages so that I could learn some ideas
and experiences. I found PERL has implemented this feature by
providing functions: "bind_param_array" and "execute_array". I have
no knowledge on PREL extension. I downloaded the source codes of
DBD:ORACLE, try to search the keyword "bind_param_array" and
"execute_array", but don't find anything useful. I wonder if someone
can give me some hints on where the related source codes are in
DBD:ORACLE, in which files and functions. Though the mechanisms are
different between Ruby and Perl, I think borrowing some
intelligences from you are quite valuable!
Thanks in advance!