private void createUserAndLoginEntity(String username) { User personUser = new User(); Login personIdentificationLogin = new Login();  personUser.setPerson(this); personIdentificationLogin.setUser(personUser); personIdentificationLogin.setUsername(username);
private void createUserAndLoginEntity(String username) { new Login(new User(this), username);
    private void createUserAndLoginEntity(String username) {        User personUser = new User();        Login personIdentificationLogin = new Login();        personUser.setPerson(this);        personIdentificationLogin.setUser(personUser);        personIdentificationLogin.setUsername(username);    }