[hibernate] change construcor signatures