@NamedNativeQuery - How can I bind it to a repository method?
The name
value on the @NamedNativeQuery
needs to be set to "AdDailyDataEntity.aggregateRevenue"
. The first part (before the dot) needs to match the entity class name.
The name
value on the @NamedNativeQuery
needs to be set to "AdDailyDataEntity.aggregateRevenue"
. The first part (before the dot) needs to match the entity class name.