inserts policyperson to database concode_field_sep Session currentSession concode_field_sep List<Policyperson> getPolicyPersonList concode_elem_sep boolean updatePolicyPerson concode_elem_sep Session getSession concode_elem_sep Policyperson getPolicyPerson
boolean function ( Policyperson arg0 ) { Transaction loc0 = getSession ( ) . beginTransaction ( ) ; try { getSession ( ) . save ( arg0 ) ; loc0 . commit ( ) ; } catch ( Exception loc1 ) { if ( loc0 != null ) { loc0 . rollback ( ) ; } loc1 . printStackTrace ( ) ; return false ; } return true ; }