www.pudn.com > liberSystem.rar > ConnectionUtil.java, change:2012-06-06,size:283b


package com.ccl.util; 
 
import java.sql.Connection; 
import java.sql.SQLException; 
 
public class ConnectionUtil { 
	 
	public static void close(Connection con){ 
		try { 
			if(!con.isClosed()) 
				con.close(); 
		} catch (SQLException e) { 
			e.printStackTrace(); 
		} 
	} 
}