Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Jifty::DBI::Handle::Oracle
An oracle specific Handle object

Jifty::DBI::Handle::Oracle - An oracle specific Handle object


NAME


  Jifty::DBI::Handle::Oracle - An oracle specific Handle object


SYNOPSIS


DESCRIPTION

This module provides a subclass of the Jifty::DBI::Handle manpage that compensates for some of the idiosyncrasies of Oracle.


METHODS

connect PARAMHASH: Driver, Database, Host, User, Password

Takes a paramhash and connects to your DBI datasource.

database_version

Returns value of ORA_OCI constant, see Constants in the DBD::Oracle manpage.

insert

Takes a table name as the first argument and assumes that the rest of the arguments are an array of key-value pairs to be inserted.

build_dsn PARAMHASH

Takes a bunch of parameters:

Required: Driver, Database or Host/SID, Optional: Port and RequireSSL

Builds a dsn suitable for an Oracle DBI connection

blob_params column_NAME column_type

Returns a hash ref for the bind_param call to identify BLOB types used by the current database for a particular column type. The current Oracle implementation only supports ORA_CLOB types (112).

apply_limits STATEMENTREF ROWS_PER_PAGE FIRST_ROW

takes an SQL SELECT statement and massages it to return ROWS_PER_PAGE starting with FIRST_ROW;

distinct_query STATEMENTREF

takes an incomplete SQL SELECT statement and massages it to return a DISTINCT result set.


AUTHOR

Jesse Vincent, jesse@fsck.com


SEE ALSO

the Jifty::DBI manpage, the Jifty::DBI::Handle manpage, the DBD::Oracle manpage

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy