[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

apache2 php mysql


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

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 Wed Aug 05 00:04:26 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.