Re: Announcement/Request for Comments: DBIx::Call

From: Dean Arnold (darnold_at_presicient.com)
Date: 11/25/04


Date: Thu, 25 Nov 2004 08:28:42 -0800
To: Tim Bunce <Tim.Bunce@pobox.com>,  Thilo Planz <thilo.planz@gaiax.co.jp>, dbi-users@perl.org

Tim Bunce wrote:

> On Thu, Nov 25, 2004 at 04:23:05PM +0900, Thilo Planz wrote:
>
>>Hi all,
>>
>>I have been using Oracle PL/SQL fairly extensively these days, and came
>>up with a module that creates Perl wrappers for PL/SQL procedures, so
>>that I can call them just like Perl functions (without the need to
>>write SQL statements or to manually bind parameters).
>>
>>After some discussion with the Perl monks, I decided that DBIx::Call
>>would be a good name for putting the module on CPAN.
>>(Although only Oracle is implemented now, it could be made to work with
>>other databases).
>>
>>Any objections to what it does, how it does it, or the name?
>
>
> DBIx::Call is a little too short. DBIx::ProcedureCall may be a mouthful
> and doesn't mention functions, but it is very clear, and better for it.

Also, unless it can be adapted/generalized for most/all
DBI drivers that support SPs, it should probably have some
sort if Oracleness to it, e.g., DBIx::OraCall.

>
>
>>Do you think it is at all useful?
>
>
> Sure. I've wanted to add something along these lines to the DBI.
> But I've not had time to compare the various modules and try to
> distill the best of each. This is a useful addition to the mix.
>
> I'd be interested to know what users of other databases think of
> the API. Specifically if the API would be too limited for their
> database.
>

Pretty nifty, but support for OUT/INOUT params returned as resultset(s)
is needed (I see OUTs in the TODO, I assume that
covers INOUTs ?). I've actually been hacking something
akin to this for SQL::Preproc, and SP CALL support has been a PITA.

Also, is there any support for using e.g.,
        - SQL qualifiers on parameters,
        - SQL literals,
        - native SQL functions,
        - etc.
in the param list ?

Regards,
Dean Arnold
Presicient Corp.



Relevant Pages

  • US-PA: Newtown - Junior to Mid-Level Oracle DBA
    ... Inc. is seeking an experienced junior to mid-level Oracle DBA to support multiple highly available transactional and data warehouse databases underpinning a 24x7 global web services application. ... Position responsibilities consist of both operational and application support primarily in a Red Hat Linux environment. ...
    (comp.databases.oracle.marketplace)
  • US-PA: Philadelphia Area - Junior to Mid-Level Oracle DBA (FT Permanent)
    ... Inc. is seeking an experienced junior to mid-level Oracle DBA to support multiple highly available transactional and data warehouse databases underpinning a 24x7 global web services application. ... Position responsibilities consist of both operational and application support primarily in a Red Hat Linux environment. ...
    (comp.databases.oracle.marketplace)
  • ANN: DBTyP.NET 2008 - Database Comparison Tool - New Release
    ... Today, BYPsoft announced the availability of DBTyP.NET 2008 Release 3, the ... Oracle databases ... With its rich support for schema and data cross-database comparison, ... SQL Server, MySQL ...
    (microsoft.public.sqlserver.tools)
  • ANN: DBTyP.NET 2008 - Database Comparison Tool - New Release
    ... MySQL and Oracle databases. ... Over and above its powerful comparison capabilities till now, BYPsoft added ... to the DBTyP.NET 2008 support for schema comparisons for Oracle databases. ... Full cross database comparison family includes now support for SQL Server, ...
    (microsoft.public.dotnet.framework.aspnet)
  • ANN: DBTyP.NET 2008 - Database Comparison Tool - New Release
    ... Today, BYPsoft announced the availability of DBTyP.NET 2008 Release 3, the ... Oracle databases ... With its rich support for schema and data cross-database comparison, ... SQL Server, MySQL ...
    (microsoft.public.dotnet.general)