return the session , return is an object to support both session as well as entitymanager . concode_field_sep FlushMode flushMode concode_elem_sep Session session concode_elem_sep HbDataStore hbDataStore concode_field_sep void setFlushModeManual concode_elem_sep void restorePreviousFlushMode concode_elem_sep boolean isInheritanceStrategy concode_elem_sep void rollbackTransaction concode_elem_sep void clear concode_elem_sep void refresh concode_elem_sep void delete concode_elem_sep List<?> executeQuery concode_elem_sep List<?> executeQuery concode_elem_sep List<?> executeQuery concode_elem_sep List<?> executeQuery concode_elem_sep List<?> executeQuery concode_elem_sep Session getHibernateSession concode_elem_sep void beginTransaction concode_elem_sep void flush concode_elem_sep void commitTransaction concode_elem_sep Object get concode_elem_sep Object merge concode_elem_sep void persist concode_elem_sep boolean isEJB3EntityManager concode_elem_sep boolean isTransactionActive concode_elem_sep void close concode_elem_sep Session getSessionInternal concode_elem_sep void saveOrUpdate
Object function ( ) { if ( session == null ) { session = hbDataStore . getSessionFactory ( ) . openSession ( ) ; } return session ; }