Hibernate JPA support, exception handling, logging 2