Made a Hibernate version of EventUtil and made a test class for it.