PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject » Bug #2565

Generator does not recognize oracle NUMBER type

Details

Submitted2004-10-19 09:55 UTC
Fromschnirkel at gmx dot at
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP Version4.3.8
OSLinux Redhat 9
Roadmaps(Not assigned)

Comments

[2004-10-19 09:55 UTC] schnirkel at gmx dot at

Description:
------------
Using Generator v1.71 with an Oracle 9.2.1 database, I get datatype MYSQLTIMESTAMP for NUMBER columns.

Reproduce code:
---------------
Patched it inserting the following row after rownum 319

case 'NUMBER':

bigger sample to get the picture

case 'DECIMAL':
case 'NUMERIC':
case 'NUMBER':
$type = DB_DATAOBJECT_INT; // should really by FLOAT!!! / MONEY...
break;

case 'YEAR':