Hibernate JPA support, exception handling, logging 3