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
Stumbled upon this issue while moving SQL queries to text blocks. Consider the following:
"""
SELECT * FROM table t
WHERE t.id = :id
AND t.deleted = FALSE
ORDER BY t.active DESC,
t.creation_date DESC
"""
Such a query will fail to run because Spring Data tries to derive a count query from this one and removes the ORDER BY part, but only when it's in a single line
Stumbled upon this issue while moving SQL queries to text blocks. Consider the following:
Such a query will fail to run because Spring Data tries to derive a count query from this one and removes the
ORDER BY
part, but only when it's in a single lineIf it's multi-line text, the count query turns like
and expectedly fails.
The text was updated successfully, but these errors were encountered: