Jan 21, 2002 #1 dendog Programmer Jun 28, 2001 53 US how do u close all connections to a database file in java. Not just the connection opened in that program but all connections to it Thanx DENNIS
how do u close all connections to a database file in java. Not just the connection opened in that program but all connections to it Thanx DENNIS
Jan 22, 2002 #2 donniea21 MIS Feb 16, 2001 75 US I usually do it in the destroy() public void destroy() { try { nameOfConnection.close(); super.destroy(); } catch(SQLException e) { log(e.getMessage()); } } Upvote 0 Downvote
I usually do it in the destroy() public void destroy() { try { nameOfConnection.close(); super.destroy(); } catch(SQLException e) { log(e.getMessage()); } }