void function ( EntityManager arg0 ) { bindForCurrentContext ( arg0 , true ) ; }
bind an entitymanager to the current http context . if no http context is available the entitymanager gets bound to the current thread instead . concode_field_sep ThreadLocal<EntityManager> currentEntityManager concode_elem_sep String CURRENT_ENTITY_MANAGER concode_field_sep void bindForCurrentContext concode_elem_sep void bindForAsync concode_elem_sep T withTransaction concode_elem_sep void withTransaction concode_elem_sep T withTransaction concode_elem_sep JPAApi jpaApi concode_elem_sep JPAApi createFor concode_elem_sep JPAApi createFor concode_elem_sep EntityManager em concode_elem_sep EntityManager em concode_elem_sep F.Promise<T> withTransactionAsync concode_elem_sep F.Promise<T> withTransactionAsync