Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using JDBCTemplate in Spring How to prove connection object has been closed ?

 
Saurabh Naik
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using JDBCTemplate in Spring How to prove connection object has been closed ?

while using JdbcTemplate connection get open & close immediately. but how we should come to know that connection get close.
is there any way to proove it ?
 
Saurabh Naik
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please reply.. its urgent
 
Rendi Artha
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saurabh Naik wrote:please reply.. its urgent

what exactly you want to do? web based or desktop based app? is it on transaction session or not?
 
Saurabh Naik
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its a web based app and not on transaction session ..
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can always download the source code for Spring and look at the method in the JdbcTemplate that you are calling.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic