Hello,

I am using CakePHP 1.2 beta and am able to establish a connection to
an Oracle 10g database on the cake homepage.  This database however
does not follow Cake's table naming conventions.  All table names are
singular,  upper case and primary keys do not have "id" in them.  This
cannot be changed.

I am trying to generate a list of employees. I have created an
Employee class in the model and have set the $useTable attribute
equal  to 'EMPLOYEE' .  When I try to run $this->Employee->findAll()
from the controller I receive a Missing Database Table error with the
following message:

"Error:  Database table EMPLOYEE for model Employee was not found.".

The controller has been created per Cake's convention.  Am I missing a
configuration step anywhere in Cake?   Any suggestions are greatly
appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to