cakephp / datasources

CakePHP Datasources
http://cakephp.org
237 stars 115 forks source link

undefined method DboDb2::getSchemaName() (and others) for DboDb2.php class #90

Open kmmartell opened 10 years ago

kmmartell commented 10 years ago

Setting up DB2 database, following the blog tutorial. Added this file: https://github.com/cakephp/datasources/blob/2.0/Model/Datasource/Database/Db2.php

As a Db2Dbo.php

Check: Database connection exists:

Go into cake/posts for the blog tutorial, and it cannot find this method, causing a fatal error.

This method exists in the DboSource class, which it extends, but still getting the issue. Added this to my class initially "App::uses('DboSource', 'Model/Datasource');" which got the database connection to work

Anyone know how to fix this? Seems like an issue with the extension of Db2Source and its methods