Recently we found that
spring-data‘s repository mechanism treats
cassandraTemplate as a by-name reference (
RuntimeBeanReference, more exactly).
It made me wonder that, “why not a by-type reference”?
spring provide runtime, by-type reference?
If so, are there some specific reasons for
spring-data to make it this way?
I’ve tried search it but failed to found a relevant topic for that.