Jan 21, 2002 #1 dendog Programmer Joined Jun 28, 2001 Messages 53 Location 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 Joined Feb 16, 2001 Messages 75 Location 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()); } }