[FLOW3-general] mapping problem
Karsten Dambekalns
karsten at typo3.org
Wed Apr 25 11:28:48 CEST 2012
Hi.
On 20.04.12 10:43, Wasko Jugovic wrote:
> Uncaught exception #42S02 in line 633 of
> /var/www/Base/Packages/Framework/Doctrine.DBAL/Classes/Connection.php:
> SQLSTATE[42S02]: Base table or view not found: 1146 Table
> 'ko_f3.wl_koadmin_domain_model_gemeinde' doesn't exist
>
> As you can see, the default table name instead of customized name is used.
> What is missing or what did I wrong?
If the table is really there and can still not be found - it might be
permissions. Anything else would seem really strange.
> By the way what are the disadvantages by using custom primary-keys in FLOW3?
Mostly the additional typing and that the ID is generated only when
persistAll() is called at the end of your script run. If you need the ID
before that (e.g. to generate a link), you need to have the
PersistenceManager injected and call persistAll() yourself.
Or you could use a custom Id column without autogeneration and generate
the id value yourself.
Regards,
Karsten
--
Karsten Dambekalns
TYPO3 Core Developer, FLOW3 / Phoenix Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the FLOW3-general
mailing list