This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes using JDBCTemplate in Spring How to prove connection object has been closed ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "using JDBCTemplate in Spring How to prove connection object has been closed ?" Watch "using JDBCTemplate in Spring How to prove connection object has been closed ?" New topic
Author

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

Saurabh Naik
Ranch Hand

Joined: Apr 24, 2008
Posts: 87
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 ?


SCJP 6 (88%), SCWCD 5 (78%), preparing for SCBCD
Saurabh Naik
Ranch Hand

Joined: Apr 24, 2008
Posts: 87
please reply.. its urgent
Rendi Artha
Greenhorn

Joined: Jan 20, 2010
Posts: 29
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

Joined: Apr 24, 2008
Posts: 87
its a web based app and not on transaction session ..
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

You can always download the source code for Spring and look at the method in the JdbcTemplate that you are calling.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: using JDBCTemplate in Spring How to prove connection object has been closed ?
 
Similar Threads
Anyone know where I can find a short explanation of how to use getJdbcTemplate?
Alternate way for closing connection ,statements once we get the resultset
Lucene - get TermVector positions
Calling Stored Procedure from jdbcTemplate
How to get error codes using java program