Skip to content

AbstractSqlPagingQueryProvider Does Not Handle Whitespace Besides the Space Character When Removing Keywords [BATCH-2849] #765

Closed
@spring-projects-issues

Description

@spring-projects-issues

BenjaminHetzjelli opened BATCH-2849 and commented

The current implementation of AbstractSqlPagingQueryProvider trims keywords, but only if they are followed immediately by a space character.

 

In cases where the keyword is followed by a different whitespace character, the keyword is not removed and a sql syntax error is thrown upon use. Treating other whitespace characters the same as the space character will allow for more flexibility in how users can supply SQL to the query provider.


No further details from BATCH-2849

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions