Code example for Connection

Methods: close, isClosed

0
	 
	 
	//¹Ø±ÕÁ¬½Ó 
	public static void connClose(){ 
	    try { 
		if(conn!=null && !conn.isClosed()){
		    conn.close();
		} 
	    } catch (SQLException e) {
		// TODO Auto-generated catch block 
		e.printStackTrace();
	    } 
	} 
}