synchronize state of user entity with database concode_field_sep EntityManager em concode_elem_sep UserBean userBean concode_field_sep User refreshUser concode_elem_sep boolean isEmailExist concode_elem_sep void register concode_elem_sep boolean isUserExist
User function ( User arg0 ) { try { em . merge ( arg0 ) ; em . flush ( ) ; } catch ( Exception loc0 ) { throw new PhotoAlbumException ( loc0 . getMessage ( ) ) ; } userBean . refreshUser ( ) ; return userBean . getUser ( ) ; }