Staff should be passed in as a parameter to this method. (You would get the staffId in your *writeServiceImpl and then fetch Staff is the Id is not Null) Refer createNew(...) in Client.java