GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SQLEngine::Driver::Oracle(3) User Contributed Perl Documentation SQLEngine::Driver::Oracle(3)

DBIx::SQLEngine::Driver::Oracle - Support DBD::Oracle and DBD::ODBC/Oracle

DBI Wrapper: Adds methods to a DBI database handle.

  my $sqldb = DBIx::SQLEngine->new( 'dbi:oracle:test' );

Portability Subclasses: Uses driver's idioms or emulation.

  $hash_ary = $sqldb->fetch_select( 
    table => 'students' 
    limit => 5, offset => 10
  );

This package provides a subclass of DBIx::SQLEngine which compensates for Oracle's idiosyncrasies.

You do not need to use this package directly; when you connect to a database, the SQLEngine object is automatically re-blessed in to the appropriate subclass.

sql_limit()
Adds support for SQL select limit clause.

Implemented as a subselect with ROWNUM.

do_insert_with_sequence()
  $sqldb->do_insert_with_sequence( $sequence_name, %sql_clauses ) : $row_count
    

Implemented using _seq_do_insert_preinc and seq_increment.

  $sqldb->seq_increment( $table, $field ) : $new_value

Increments the sequence, and returns the newly allocated value.

sql_detect_table()
  $sqldb->sql_detect_table ( $tablename )  : %sql_select_clauses
    

Implemented using Oracle's "select * from $tablename limit 1".

The following methods are used by sql_create_table to specify column information in a DBMS-specific fashion.
dbms_create_column_types()
  $sqldb->dbms_create_column_types () : %column_type_codes
    

Implemented using Oracle's blob and number types.

Portability: Note that this capability is currently limited, and additional steps need to be taken to manually define sequences in Oracle.

dbms_create_column_text_long_type()
  $sqldb->dbms_create_column_text_long_type () : $col_type_str
    

Implemented using Oracle's clob type.

Note: this feature has been added recently, and not yet tested in real-world conditions.
fetch_storedproc()
  $sqldb->fetch_storedproc( $proc_name, @arguments ) : $rows
    

Not yet supported.

See "Binding Cursors" in DBD::Oracle for more information.

do_storedproc()
  $sqldb->do_storedproc( $proc_name, @arguments ) : $row_count
    

Calls do_sql with "execute procedure", the procedure name, and the arguments using placeholders.

create_storedproc()
  $sqldb->create_storedproc( $proc_name, $definition )
    

Calls do_sql with "create or replace procedure", the procedure name, and the definition.

drop_storedproc()
  $sqldb->drop_storedproc( $proc_name )
    

Calls do_sql with "drop procedure" and the procedure name.

sql_detect_any()
  $sqldb->sql_detect_any : %sql_select_clauses
    

Implemented using Oracle's "select 1 from dual".

recoverable_query_exceptions()
  $sqldb->recoverable_query_exceptions() : @common_error_messages
    

Provides a list of error messages which represent common communication failures or other incidental errors.

See DBIx::SQLEngine for the overall interface and developer documentation.

See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.

Hey! The above document had some coding errors, which are explained below:
Around line 87:
You forgot a '=back' before '=head2'
Around line 93:
=back without =over
2004-11-06 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.