Hello,
stolknulsya with issue in doctrine.
Imagine there are three basic table — participant, team, region.
One, let called log in which are stored the identical structure data — rank, points, position and so on for each object of the first table.
You must make at instance_id and instance_type can be bound two tables — log and some of the major, depending on the instance_type.
At first glance it's pretty simple, but after he described via a normal Doctrine_Query::create() and leftJoin, or through Doctrine_RawQuery::create() error that it is not possible to conduct a "hydrated." because the Log object is no connection, for instance.
If someone was stykalsya with such difficulty, can you please tell me the solution.