JPAApi function ( String arg0 ) { return new DefaultJPAApi ( DefaultJPAConfig . of ( "srini_string" , arg0 ) ) . start ( ) ; }
create a default jpaapi with name `` default '' and the given unit name . automatically initialise the jpa entity manager factories . 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 void bindForSync concode_elem_sep T withTransaction concode_elem_sep void withTransaction concode_elem_sep T withTransaction concode_elem_sep JPAApi jpaApi concode_elem_sep EntityManager em concode_elem_sep EntityManager em concode_elem_sep F.Promise<T> withTransactionAsync concode_elem_sep F.Promise<T> withTransactionAsync