I found this: http://pietervogelaar.nl/doctrine-2-use-foreign-key-as-field-in-dql
The posts in the link are from 2-3 years ago and recommend using an IDENTITY function. I am curious if using IDENTITY is still a recommended practice? I find it that in some of my code I have been unwittingly using the "double approach" such as having both relation and the foreign key defined (as in the link), and using one which was more appropriate. -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.