hibernate 3 work