TRUNK-4140: Substitute deprecated method call in HibernateContextDAO
Merge pull request #1135 from rpuzdrowski/TRUNK-4140

TRUNK-4140: Substitute deprecated method call in HibernateContextDAO