question: gets the current session in use creates one if necessary . concode_field_sep SessionFactory sessionFactory concode_elem_sep Class<T> type concode_field_sep Class<T> getPersistentClass concode_elem_sep PK save concode_elem_sep PK save concode_elem_sep void refresh concode_elem_sep void update concode_elem_sep void update concode_elem_sep List<T> findByExample concode_elem_sep void delete concode_elem_sep void delete concode_elem_sep void delete concode_elem_sep void delete concode_elem_sep void setSessionFactory concode_elem_sep List<T> findByCriteria concode_elem_sep List<T> findAll concode_elem_sep SessionFactory getSessionFactory concode_elem_sep void evict concode_elem_sep T load concode_elem_sep T load concode_elem_sep void flush concode_elem_sep T get concode_elem_sep T get concode_elem_sep void saveOrUpdate concode_elem_sep void saveOrUpdate concode_elem_sep Query getQuery concode_elem_sep Query getQuery
target: Session function ( ) { return this . sessionFactory . getCurrentSession ( ) ; }