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

Sort a complex associative array in PHP -

c++ - Fill edges and center of array/vector with different values -

ios - Chat Bubble in Swift3 -