Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 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
@doctrinebot doctrinebot added this to the 2.4 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.