@ Programmatic public ApplicationUser findByUsernameCached ( final String username ) { return queryResultsCache . execute ( new Callable < ApplicationUser > ( ) { @ Override public ApplicationUser call ( ) throws Exception { return findByUsername ( username ) ; } } , ApplicationUserRepository . class , "findByUsernameCached" , username ) ; }
region > findByUsername