spring-projects/spring-data-jpa — pull request #122 by thomasdarimont (2014-11-14 11:44:54+00:00)
Title: DATAJPA-629 - Allow SpEL template expressions in combination with parameter expressions in @Query.

Previously SpEL template expressions like #{#entityName} could not be used in conjunction with parameter expressions in @Query because the SpEL template parser tried to evaluate the dynamic parameter expressions as well. We now mask the parameters prior to evaluating the SpEL template expression.