ZF-6965: Schema problem

Issue Type: Bug Created: 2009-06-09T06:42:42.000+0000 Last Updated: 2011-08-03T15:47:07.000+0000 Status: Resolved Fix version(s): Reporter: vincent (vistahr) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Db_Adapter_Db2

Related issues: - ZF-6039



Iam using the DB2 Adapter with the Pear DB2 driver.

The Problem is, that in all Select Statements the schema were not added.

An Example. Iam Using the find() Method.

These are my attributes: protected $_schema = 'USERS'; protected $_name = 'USERS'; protected $_primary = 'USER_ID';

But the find() Method Create this Where clause (("USERS"."USER_ID" = 1))

A solution is to add an alias like "USERS.USERS as users". That works with the select cstmt class, but theres no chance to do that for the find() method, and it isnt best practice too.


Posted by old of Satoru Yoshida ( on 2009-06-13T02:24:12.000+0000

It seems to be duplicate of ZF-6039

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.