It is understandable from the dogs point of view. He has been sleeping all night, he hears your boyfriend getting up and he thinks the day should start. He probably has to go to the bathroom and is anxious to go out. I don't really have any solution unless your boyfriend can take him for a quick trip outside before he goes to work.