Google Groups Home
Help | Sign in
#1046: Relations do not work between columns with same primary key
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Doctrine  
View profile
 More options 15 May, 18:13
From: "Doctrine" <no-re...@phpdoctrine.org>
Date: Thu, 15 May 2008 17:13:23 -0000
Local: Thurs 15 May 2008 18:13
Subject: [Doctrine] #1046: Relations do not work between columns with same primary key
#1046: Relations do not work between columns with same primary key
--------------------------+------------------------------------------------ -
 Reporter:  jasoneisen    |       Owner:  jwage
     Type:  defect        |      Status:  new  
 Priority:  major         |   Milestone:  0.11.2
Component:  Schema Files  |     Version:  0.11  
 Keywords:                |  
--------------------------+------------------------------------------------ -
 In the attached document, the table will be created, but the reference
 will not be made because both are primary keys and are the same.

--
Ticket URL: <http://trac.phpdoctrine.org/ticket/1046>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doctrine  
View profile
 More options 8 Jun, 19:09
From: "Doctrine" <no-re...@phpdoctrine.org>
Date: Sun, 08 Jun 2008 18:09:08 -0000
Local: Sun 8 Jun 2008 19:09
Subject: Re: [Doctrine] #1046: Relations do not work between columns with same primary key
#1046: Relations do not work between columns with same primary key
---------------------------+----------------------------------------------- -
  Reporter:  jasoneisen    |       Owner:  jwage
      Type:  defect        |      Status:  closed
  Priority:  major         |   Milestone:  0.11.2
 Component:  Schema Files  |     Version:  0.11  
Resolution:  invalid       |    Keywords:        
---------------------------+----------------------------------------------- -
Changes (by romanb):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 If both, local and foreign are primary keys you need to set the owningSide
 option to true ('owningSide' => true) on the side that owns the foreign
 key in the database.

 See: http://www.phpdoctrine.org/documentation/manual/0_11?one-
 page#relations:introduction

--
Ticket URL: <http://trac.phpdoctrine.org/ticket/1046#comment:1>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google