public void close() {
		
		try{
			if(connection!=null && !connection.isClosed())
				{
					connection.close();
					connection=null;
				}
			}catch(SQLException ex)
			{
				ex.printStackTrace();
			}
		
		
	}