finds a all business entities based on type concode_field_sep Class<T> businessEntity concode_field_sep T find concode_elem_sep T find concode_elem_sep List<T> batchUpdate concode_elem_sep T save concode_elem_sep T update concode_elem_sep Session getOpenSession concode_elem_sep boolean delete concode_elem_sep SessionFactory getSessionFactory
List < T > function ( ) { Session loc0 = getSessionFactory ( ) . getCurrentSession ( ) ; Criteria loc1 = loc0 . createCriteria ( getClass ( ) ) ; List < T > loc2 = ( List < T > ) loc1 . list ( ) ; return loc2 ; }