SessionFactory function ( URL arg0 ) { ServiceRegistryBuilder loc0 = new ServiceRegistryBuilder ( ) ; loc0 . applySetting ( "srini_string" , JDBC_URL ) ; loc0 . applySetting ( "srini_string" , true ) ; return new Configuration ( ) . configure ( arg0 ) . buildSessionFactory ( loc0 . buildServiceRegistry ( ) ) ; }
creates a new hibernate sessionfactory using a programmaticconfiguration . concode_field_sep String USER_CACHE_NAME concode_elem_sep List<String> ENTITY_NAMES concode_elem_sep String UPDATE_TIMESTAMPS_CACHE_NAME concode_elem_sep String POST_CACHE_NAME concode_elem_sep String HIBERNATE_CFG concode_elem_sep String JDBC_URL concode_elem_sep String STANDART_QUERY_CACHE_NAME concode_elem_sep String USER_POSTS_CACHE_NAME concode_field_sep IgniteCache createCache concode_elem_sep void main concode_elem_sep void printStats