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 -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -