Solved enum to string mapping in hbm file.
Resouce manager hibernate4 implementation unit test added. Paging methods not tested yet.