I have a class extends NamedParameterJdbcDaoSupport. well this superclass has a final setDataSource method on it. How can I wire datasource to it using annotation @autowire?
I have a class extends NamedParameterJdbcDaoSupport. well this superclass has a final setDataSource method
Share
You can use @Autowired on a constructor or on a method with another name. Personally I prefer the latter option.