SpEL表达式

官方给的用法解释

VariableUsageDescription

entityName

select x from #{#entityName} x

Inserts the entityName of the domain type associated with the given Repository. The entityName is resolved as follows: If the domain type has set the name property on the @Entity annotation then it will be used. Otherwise the simple class-name of the domain type will be used.

posted on 2018-01-23 16:30  幽人月  阅读(101)  评论(0)    收藏  举报