used hibernate criterian in user crud, and applied cascade type all on one to many relation