Assignment, used hibernate, spring technologies