Moderators: Vladimir Kondratyev, Anton Katilin
If you believe that the connection actually closes, but the profiler does not show it as closed, perhaps the connection is not closed via public method close() of Connection interface, thus the event cannot be caught by the built-in probe.
Could you please provide snapshot demonstrating the problem.
java.sql.DriverManager.getConnection(String, Properties)
org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(String, Properties)
org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(Properties)
org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(String, String)
org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection()
org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSource)
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSource)
org.springframework.jdbc.core.JdbcTemplate.execute(PreparedStatementCreator, PreparedStatementCallback)
org.springframework.jdbc.core.JdbcTemplate.query(PreparedStatementCreator, PreparedStatementSetter, ResultSetExtractor)
org.springframework.jdbc.core.JdbcTemplate.query(String, PreparedStatementSetter, ResultSetExtractor)
org.springframework.jdbc.core.JdbcTemplate.query(String, Object[], ResultSetExtractor)
org.springframework.jdbc.core.JdbcTemplate.query(String, Object[], RowMapper)
....
java.sql.DriverManager.getConnection(String, Properties)
org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(String, Properties)
Users browsing this forum: No registered users and 1 guest
YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.
By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.