[TYPO3-mvc] Extbase 1.2.0 table mapping
Henjo Hoeksma
me at henjohoeksma.nl
Tue Jan 17 09:42:49 CET 2012
Hi Yuth,
I think you also need to say to the Extbase object your object is a
subclass:
Tx_Extbase_Domain_Model_FrontendUser {
subclasses {
Tx_MyExt_Domain_Model_FeUsers = Tx_MyExt_Domain_Model_FeUsers
}
}
Kind regards,
Henjo
Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.
On Tue, Jan 17, 2012 at 03:08, Rayuth You (Yuth)
<rayuth at typo3cambodia.org>wrote:
> Hi list
>
> Using extbase 1.2.0
>
> In setup:
> plugin.tx_myext {
> persistence{
> enableAutomaticCacheClearing = 1
> updateReferenceIndex = 0
> classes {
> Tx_MyExt_Domain_Model_FeUsers {
> mapping {
> tableName = fe_users
> columns {
> lockToDomain.mapOnProperty
> = lockToDomain
> }
> }
> }
> }
> }
> }
>
> and in ext_table.php: t3lib_div::loadTCA('fe_users')**;
>
> I got message error:
> Table 'typo3_demo.tx_myext_domain_**model_feusers' doesn't exist: SELECT
> tx_myext_domain_model_feusers.*** FROM tx_myext_domain_model_feusers
> WHERE tx_myext_domain_model_feusers.**uid = '0'
>
> Did I configure some thing wrong? Or any hint?
>
> Regards,
> Yuth
> --
> Khmer TYPO3 User Group
> Spirit of sharing
>
> Rayuth You
> Web Developer
>
> M: +855 11 262 078
> E: rayuth at typo3cambodia.org
> ______________________________**_________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc@**lists.typo3.org<TYPO3-project-typo3v4mvc at lists.typo3.org>
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**
> project-typo3v4mvc<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc>
>
More information about the TYPO3-project-typo3v4mvc
mailing list