updates the data in a bhuser pass the method a bhuser with all the values set to your liking and this method will update the database with these values . this method does n't actually return anything but the good feeling that your update has been completed . if it ca n't be completed then it wo n't tell you . sounds like something needs to be added in the future . hmmm . concode_field_sep PlaceHolder placeHolder concode_field_sep Bhuser getUserByEmail concode_elem_sep Bhuser getUser concode_elem_sep void insert concode_elem_sep boolean isValidUser concode_elem_sep void delete
void function ( Bhuser arg0 ) { EntityManager loc0 = DbUtil . getEmFactory ( ) . createEntityManager ( ) ; EntityTransaction loc1 = loc0 . getTransaction ( ) ; try { loc1 . begin ( ) ; loc0 . merge ( arg0 ) ; loc1 . commit ( ) ; } catch ( Exception loc2 ) { System . out . println ( loc2 ) ; loc1 . rollback ( ) ; } finally { loc0 . close ( ) ; } }