ANNOUNCE: DBD:Oracle 1.18
DBD::Oracle 1.18 has been released. With this release DBD::Oracle finally implements Oracle's native Array Interface. You will see very dramatic increase in speed. For example; the time for a 2 million plus insert query dropped from well over an hour to less than 10 minutes when using execute_array() and the new code. The new code is not 100% DBI compliant as it does not yet support named parameter binding,but it does support all the other forms of binding and has full support for return Tuples. Many thanks to Kristian Nielsen for his original work on this code. There is also expanded support for LOB Locators from Jeffrey Klein. Finally there are number of little fixes and an update or two to the readmes. please enjoy. John Scoles (Please note that it may take a little while for CPAN to update to the latest version so if you need the latest code you can always use the subversion URL http://svn.perl.org/modules/dbd-oracle/trunk.)
Announce DBD::Oracle 1.21
DBD::Oracle 1.21 Released April 14th, 2008 - by John Scoles The latest release of DBD::Oracle is now ready and can be found at: CPAN DBD::Oracle. It is a Perl module that works with the DBI module to provide access to Oracle databases. It is maintained by me, John Scoles, under the auspices of The Pythian Group as open source/free software. The release has been fully tested with the latest version of DBI (1.601). Below is the list of the changes and/or fixes in this release. Changes in DBD-Oracle 1.21(svn rev 11067) 11th April 2008 Added Notes to README.win32.txt on installing Instant Client 1.1.0.6.0from John Scoles Added the oci_typecode_name method to get the name rather than just the number of an OCI_TYPECODE from John Scoles Fixed a unreported bug with Embedded Objects from John Scoles Fixes for #34621 33791 from RT cpan Added patch to allow faster fetch from REF CURSORs from Biswadeep Chowdhury Updated the Todo file for next version from John Scoles Added support for the 10.2 Data Interface for Persistent LOBs by John Scoles Changed the way pre-fetching is done by John Scoles Added support for Scrollable cursors from John Scoles Changed the max size of cache_rows to a sb4 rather than a int and or a ub4 from John Scoles Added support for Lobs in select of OCI Embedded Objects from John Scoles with a big thankyou to Paul Weiss Fixed for embedded object in object from Paul Weiss Added support for direct insert of large XML data into XMLType fields from Hendrik Fuss John Scoles Fixed memory leak (not releasing Temp Lob with OCILobFreeTemporary) when created for a bind from John Scoles Added support for bind_param_inout_array for use with execute_array from John Scoles Added enhancement for Embedded Objects handling from Paul G. Weiss Fixed to Makefile.PL let it read makefiles from other makes from Alexander V Alekseev Updated POD to tell users to Avoid Using SQL Call from Charles Jardine Updated POD to account for rt.cpan.org #30910: DBD-Oracle crashes when trying to read empty LOB from John Scoles Added DBD::Oracle impdata/threads patch from Jeffrey Klein In this release there are a number of new features. One important one you might want to have a look is support for binding an array for in-out operations with execute_array. Given this sql; INSERT INTO foo (id, bar) VALUES (foo_id_seq.nextval, ?) RETURNING id INTO ? and using execute_array to insert 200 records you will get an array back of the 200 new IDs inserted. I have also added support for direct inserting of large XML files into an XMLType field. Another important addition is support for Persistent LOBs if you are using Oracle 10.2 or later. You can now treat LOBs as if they were any other form of data so say good-by to LOB locators. Finally I have added support for native oracle 'Scrolling Cursors'. There were also a number of bug fixes and code enhancements/updates as detailed above. Cheers John Scoles
ANNOUNCE: DBD::Oracle 1.23 has Been Released.
The Sesame Street Version Of DBD::Oracle (1.23) has Been Released. You can find it at CPAN DBD::Oracle. DBD::Oracle is the Perl module that works with the DBI module to provide access to Oracle databases. It is maintained by me, John Scoles, under the auspices of The Pythian Group as open source/free software. This release is another largely maintenance release that fixes a number of bugs. New stuff includes the ability to fetch Oracle embedded types directly into an oracle object, a big thank you goes out to Tomas Pokorny for that patch. Also UTF8 support has been expanded and cleaned up for BLOBs and execute_array and thanks go out to Milo van der Leij, David Mansfield for most of the work on this. Also a big thanks Alex Buttery, Jim McCullars, Charles Jardine, Eric Simon, Chris Underhill who helped out with some clean up of the code, readmes and the pod. I have also now added two private statement functions ora_stmt_type_name and ora_stmt_type which will get the OCI type name and type for the currently prepared statement. *This is the complete change list* * Fix from rt.cpan.org ticket #=44788 bool in_lite should be char in_literal * Fix for UTF8 and blobs by John Scoles with Milo van der Leij * Fix for some warnings and one bug in ocitrace.h from Charles Jardine * Fix in case there may be a bug in 11 where the OCI_ATTR_DATA_SIZE my return 0 which should never happen, John Scoles * Fix on the Makefile.PL for a possible sql bug in IC from Martin Evans * Added a change from a suggestion from Martin Evans for making ref cursors faster. * Added rt.cpan.org Ticket #=42328 ora_objects attribute for extended embedded objects support from Tomas Pokorny * Fix for rt.cpan.org Ticket #=42328 user defined types from different schema in describe_obj from Tomas Pokorny * Added a README for sun suggested by Jim McCullars * Clean up of white space and formatting to 4 tabs from John Scoles * Fix for GCC 4.3 warnings from Eric Simon * Standardized the dbd_verbose levels so they are all 3 and over. from John Scoles * Added private statement functions ora_stmt_type_name and ora_stmt_type from John Scoles * Update to POD from Chris Underhill * Added README.win64.txt with content from Alex Buttery * Fix for rt.cpan.org Ticket #=21920 Bug with Oracle DBD for Mac OS X Instant Client From boingolover * Added a few more constants to get rid of magic numbers from John Scoles * Fix for rt.cpan.org Ticket #=38267 Inserts/Updates to BLOB's via synonyms fails from John Scoles * Fix for rt.cpan.org Ticket #=39603 build problem and fix missing functions in oci.def from Zoltán Sebestyén * Fix for rt.cpan.org Ticket #=39374 Makefile.PL: error when reducing echo messages from make from Tippa * Fix for rt.cpan.org Ticket #=39232 binding large XMLTYPE fails on 64-bit perl from Jeff Klein * Fix for rt.cpan.org Ticket #=38749 Warning of a NULL column in an aggregate function also added ora_oci_success_warn to display silent OCI warnings from John Scoles * Patch for UTF8 check on execute_array from David Mansfield and a little by John Scoles