A glass of bees

What happens if you put a glass jar over a hole in a beehive?