Difference between revisions of "Closing a java connection to mysql"

From MyWiki
Jump to: navigation, search
(Created page with " try{ if(conn!=null) conn.close(); }catch(SQLException se){ se.printStackTrace(); }//end finally try")
 
(No difference)

Latest revision as of 14:23, 12 August 2015

     try{
        if(conn!=null)
           conn.close();
     }catch(SQLException se){
        se.printStackTrace();
     }//end finally try