You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some databases (e.g., Oracle) permit double quoted column aliases that include case-sensitive characters, single quotes, and other special special characters.
For example, in the following SQL statement that is used to populate an embedded database from scripts with Spring, the single quote should not be interpreted as a literal.
Spring's ScriptUtils currently interprets a single quote nested in double quotes as the start of a string literal, causing the parsing of the SQL statement to fail.
Deliverables
Ensure that single quotes nested in double quotes do not result in a parsing error.
Nicolas Debeissat opened SPR-13218 and commented
Status Quo
Some databases (e.g., Oracle) permit double quoted column aliases that include case-sensitive characters, single quotes, and other special special characters.
For example, in the following SQL statement that is used to populate an embedded database from scripts with Spring, the single quote should not be interpreted as a literal.
Analysis
Spring's
ScriptUtilscurrently interprets a single quote nested in double quotes as the start of a string literal, causing the parsing of the SQL statement to fail.Deliverables
Affects: 4.0.3
Reference URL: #835
Issue Links:
Referenced from: commits 629bcb6