using hibernate to make Relation of Object in database