#1467: REGRESSION: Problem with many-to-many
------------------------------+---------------------------------------------
Reporter: colnector | Owner: romanb
Type: defect | Status: new
Priority: major | Milestone: 1.0.3
Component: Query/Hydration | Version: 1.0
Resolution: | Keywords:
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
------------------------------+---------------------------------------------
Comment (by romanb):
Im not sure I understand the issue. Does ItemPicture not need to have the
columns item_id/picture_id ?
Puzzle (id, ...) - hasMany('Picture', array('local' => 'item_id',
'foreign' => 'picture_id', 'refClass' => 'ItemPicture')[[BR]]
ItemPicture (item_id, picture_id,...)[[BR]]
Picture(id,...) - hasMany('Puzzle', array('local' => 'picture_id',
'foreign' => 'item_id', 'refClass' => 'ItemPicture')[[BR]]
--
Ticket URL: <http://trac.phpdoctrine.org/ticket/1467#comment:6>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---