Details
Description
DQL Expression:
SELECT (CASE WHEN t.id = 1 THEN -1 ELSE t.id END) FROM Table t
Gives an error:
[Syntax Error] line 0, col 32: Error: Unexpected '-'
It doesn't seem to like the negative number.
Activity
Ilya Biryukov
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
DQL Expression:
SELECT (CASE WHEN t.id = 1 THEN -1 ELSE t.id END) FROM {$this->getEntityName()} t Gives an error: [Syntax Error] line 0, col 32: Error: Unexpected '-' It doesn't seem to like the negative number. |
DQL Expression:
SELECT (CASE WHEN t.id = 1 THEN -1 ELSE t.id END) FROM Table t Gives an error: [Syntax Error] line 0, col 32: Error: Unexpected '-' It doesn't seem to like the negative number. |
Fabio B. Silva
made changes -
| Assignee | Benjamin Eberlei [ beberlei ] | Fabio B. Silva [ fabio.bat.silva ] |
Fabio B. Silva
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.4 [ 10321 ] | |
| Resolution | Fixed [ 1 ] |