JdbcTemplate — logging the dataSource connection url
- by Bernhard V
Hi,
is there a way to log the JdbcTemplate's DataSource connection URL in Java?
The field exists in the DataSource, but there ain't a getter to access it. Of course I could read the DataSource properties from the application context xml, but I'd like to do it the other way.