*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
 
subject: how to stop the database connection immediately when i click the "cancel" button .
 
Similar Threads
problems with getting text from field...
Adding addPopupMenuListener to JCombo Box through Mouse Event
Easiest way to pass a username to a class
force function call
a little confused!