Hi,
when using the jdbctemplate for native queries in a backend task,
how to define which datasource should be used?
We are working with multiple DBs in a project.
How to define which one should be used by a jdbctemplate query?
Regards Roland
Hi,
when using the jdbctemplate for native queries in a backend task,
how to define which datasource should be used?
We are working with multiple DBs in a project.
How to define which one should be used by a jdbctemplate query?
Regards Roland
got it:
@Autowired @Qualifier("uadwhl0DataSource") DataSource l0DS;
and then
JdbcTemplate l0Tmp = new JdbcTemplate(l0DS);