public void close(Connection con,PreparedStatement preparedStatement,ResultSet rs){
		try {
			if(rs!=null){
				rs.close();
				rs = null;
			}if(preparedStatement!=null){
				preparedStatement.close();
				preparedStatement = null;
			}if(con!=null&&!con.isClosed()){
				con.close();
				con = null;
			}
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}