Added some hibernate stuffs