[DDC-2837] Entity with field $key passes orm:validate but db create will fail Created: 03/Mar/13  Updated: 03/Dec/13  Resolved: 03/Dec/13

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: Improvement Priority: Trivial
Reporter: exoon Assignee: Marco Pivetta
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

apache2 php mysql



 Description   

There should be a warning if you name a field $key.



 Comments   
Comment by Marco Pivetta [ 03/Dec/13 ]

Handling escaping is not up to the ORM. Use a custom quote strategy for that, as described in the documentation.

Generated at Tue Sep 02 19:26:21 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.