Properties

Properties existing in the Solar_Sql_Adapter_Oracle class.

Public

None.

Protected

$_Solar_Sql_Adapter

(array) Default configuration values.

Inherited from Solar_Sql_Adapter.

$_cache

(Solar_Cache_Adapter) A cache object for keeping query results.

Inherited from Solar_Sql_Adapter.

$_cache_key_prefix

(string) Prefix all cache keys with this string.

Inherited from Solar_Sql_Adapter.

$_config

(array) Collection point for configuration values.

Inherited from Solar_Base.

Note that you do not define config defaults in $_config directly.

<?php
// DO NOT DO THIS
protected $_config = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

Instead, define config defaults in a protected property named for the class, withan underscore prefix.

For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.

<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

$_dsn

(string) A PDO-style DSN, for example, "mysql:host=127.0.0.1;dbname=test".

Inherited from Solar_Sql_Adapter.

$_ident_quote_prefix

(string) The quote character before an identifier name (table, index, etc).

Inherited from Solar_Sql_Adapter.

$_ident_quote_suffix

(string) The quote character after an identifier name (table, index, etc).

Inherited from Solar_Sql_Adapter.

$_maxlen

(array) Max identifier lengths for table, column, and index names used when creating portable tables.

Inherited from Solar_Sql_Adapter.

We use 30 characters to comply with Oracle maximums.

$_native_solar

(array) Map of native RDBMS types to Solar generic types used when reading table column information.

Some of the 'native' types listed are actually for the ANSI, SQL/DS and DB2 types. They are listed because Oracle recognizes them as valid types and will use them as the types on the table description if that is what is used in the create statement. Internally Oracle converts them to its own types but they will be reported to Solar as though they were the ANSI or IBM types.

Note that fetchTableCols() will programmatically convert TINYINT(1) to 'bool' independent of this map.

$_pdo

(object) A PDO object for accessing the RDBMS.

Inherited from Solar_Sql_Adapter.

$_pdo_type

(string) The PDO adapter type.

$_profile

(array) A quick-and-dirty query profile array.

Inherited from Solar_Sql_Adapter.

Each element is an array, where the first value is the query execution time in microseconds, and the second value is the query string.

Only populated when the profiling config key is true.

$_profiling

(bool) Whether or not profiling is turned on.

Inherited from Solar_Sql_Adapter.

$_solar_native

(array) Map of Solar generic types to RDBMS native types used when creating portable tables.

Oracle recognizes and uses ANSI standard datatypes in table creation. It internally converts to Oracle types but for simplicity where an ansi standard type was equivalent to Solar we will use that ansi standard type and let Oracle do its own internal conversion.

Private

None.



Local