Session function ( ) { if ( currentSession == null || ! currentSession . isOpen ( ) ) { currentSession = HibernateUtil . getSessionFactory ( ) . getCurrentSession ( ) ; } return currentSession ; }
used to return the current session or create a new one if null concode_field_sep Session currentSession concode_field_sep List<Policyperson> getPolicyPersonList concode_elem_sep boolean updatePolicyPerson concode_elem_sep boolean insertPolicyPerson concode_elem_sep Policyperson getPolicyPerson