TRUNK-4055 Substitute deprecated Hibernate.* fields
Merge pull request #443 from dedunumax/TRUNK-4055

TRUNK-4055 Substitute deprecated Hibernate.* fields