getJdbcTemplate() Return the JdbcTemplate for this DAO,
pre-initialized with the DataSource or set explicitly.
protected void
initTemplateConfig() Initialize the template-based configuration of this DAO.
Called after a new JdbcTemplate has been set, either directly
or through a DataSource.
This implementation is empty.
final protected void
releaseConnection(Connection con) Close the given JDBC Connection, created via this DAO's DataSource,
if it isn't bound to the thread.
Create a JdbcTemplate for the given DataSource.
Only invoked if populating the DAO with a DataSource reference!
Can be overridden in subclasses to provide a JdbcTemplate instance
with different configuration, or a custom JdbcTemplate subclass.
Parameters: dataSource - the JDBC DataSource to create a JdbcTemplate for the new JdbcTemplate instance See Also:JdbcDaoSupport.setDataSource
Initialize the template-based configuration of this DAO.
Called after a new JdbcTemplate has been set, either directly
or through a DataSource.
This implementation is empty. Subclasses may override this
to configure further objects based on the JdbcTemplate.
See Also:JdbcDaoSupport.getJdbcTemplate()