Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Invalid
-
Labels:None
-
Environment:MySQL & Linux
Description
Generated from an Entity with a variable named access_key, with a column name of "key".
Generated MySQL table constructor fails, name is not escaped with backticks.
This is not a bug, you have to explicitly force escpaing manually by giving @Column(name="``key`") in your mapping (or xml/yml equivalent).
Automatic escaping leads to problems, that is why w edont support it.