bring hibernate into the view