해당 링크를 보고 알게 된 사실인데,
The DataSource should always be configured as a bean in the Spring IoC container. In the first case the bean is given to the service directly; in the second case it is given to the prepared template.
다음과 같은 글이 있었다.
JdbcTemplateInsert 사용하여 insert 간단히 하기
https://docs.spring.io/spring-framework/reference/data-access/jdbc/simple.html
해당 사이트 지금은 아닌데,곧 버전 업데이트할 듯?