setup hibernate and a basic transactional service for accessing plants in the database