[FLOW3-general] Entity problem

Benjamin MERCERON ben.merceron at gmail.com
Wed Sep 1 21:46:20 CEST 2010


Hi,

I need some help

I have this exception
*#42S02: SQLSTATE[42S02]: Base table or view not found: 1146 Table
'test.entities' doesn't exist*
and I don't know how to resolve it !

My database name is 'test' (not an entity) and I have just one table 'user'
(which is an entity with @entity).
The connection is OK, but when I try to do :
        $user = $this->objectFactory->create('F3\Client\Domain\Model\User');
        $user->setNomUser('testNomCtrl');
        $this->$userRepository->add($user);
I have the exception !

Thanks for helping me.


More information about the FLOW3-general mailing list