Showing various bugs in Hibernate