public final void setDataSource ( DataSource dataSource ) { if ( this . jdbcTemplate == null || dataSource != this . jdbcTemplate . getDataSource ( ) ) { this . jdbcTemplate = createJdbcTemplate ( dataSource ) ; initTemplateConfig ( ) ; } }
Set the JDBC DataSource to be used by this DAO .