Testing Hibernate DB connection. The connection is working