IBM interview question

design patterns, hibernate entity states