java - Trimming in Spring Data command generated -


i have method users username

page<user> findbyusernamecontainingignorecaseandenabledtrue(string username, pageable pageable); 

however, there problem if enters white characters before or after name. in java there trim () method, whether can add similar trim command delete white characters when checking in spring data.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -