DDC-2435: Column name with number and reserved character creates invalid query #3150

Closed
doctrinebot opened this Issue May 8, 2013 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user dane77hz:

I have a column name called 1:1 which i map like so
@Column(type="string", name="1:1")
Unfortunately, the SQL that get generated does not work in mysql:
SELECT t0.1:1 AS 112 FROM table t0
the problem is with the 'AS 112', if it contained a letter eg. 11a, or was escaped eg. 112 it wound work.

@doctrinebot

Comment created by @FabioBatSilva:

Fixed : c9d9b68

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment