aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to stop the database connection immediately when i click the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to stop the database connection immediately when i click the "cancel" button ." Watch "how to stop the database connection immediately when i click the "cancel" button ." New topic
Author

how to stop the database connection immediately when i click the "cancel" button .

Kevin Pang
Ranch Hand

Joined: Mar 01, 2005
Posts: 38
code example:


if the database connecting work fails, for example database server is closed , how to stop the jdbc connection job?
thanks in advance.
 
wood burning stoves
 
subject: how to stop the database connection immediately when i click the "cancel" button .