[FLOW3-general] Finding inherited objects in a repository
Carsten Bleicker
carsten at bleicker.de
Mon Nov 28 17:28:55 CET 2011
isnt this exactly the behavior wich is used in the typo3.party package?
saw something there with @ORM\InheritanceType("JOINED") on the abstract
class.
kind regards
carsten
Peter Beernink wrote:
> Hi Thomas,
>
> On 6-2-2011 22:57, Thomas "Thasmo" Deinhamer wrote
>> [...]
>>
>> Not sure if FLOW3 can do this also with multiple tables.
>
> No, FLOW3 has a very different setup. There all objects are stored in
> about 4 tables (don't have a installation at hand right now).
> One of the table (I believe it's 'entities') is used to store all object
> types, with parent objects. The values of all properties are stored in
> an other table, which has a field per datatype.
>
> My guess is that using a XxxxRepository, the part before Repository is
> used to determine which records should be fetched from the entities
> table. So if that is indeed the case I need to make the repository (or
> the underlying code) smarted by checking which objects are child objects.
>
> I think I'll wait till the Doctrine2 integration becomes stable as it
> looks like they have support for it.
>
> Peter
More information about the FLOW3-general
mailing list