nl: returns the current hibernate session . if a session was previously established during the same request the already established instance is returned otherwise a new instance is retriven from the session factory . concode_field_sep SessionFactory sessionFactory concode_elem_sep Configuration configuration concode_elem_sep Log log concode_field_sep void rollback concode_elem_sep void commit concode_elem_sep void begin concode_elem_sep SessionFactory getSessionFactory
code: Session function ( ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "srini_string" ) ; } Session loc0 = getSessionFactory ( ) . getCurrentSession ( ) ; if ( ! loc0 . isOpen ( ) ) { loc0 = getSessionFactory ( ) . openSession ( ) ; } return loc0 ; }