EntityManager function ( String arg0 ) { return ( EntityManager ) this . transactionSynchronizationRegistry . getResource ( arg0 ) ; }
get current persistence context . only call while a transaction is active in the current thread . concode_field_sep TransactionManager transactionManager concode_elem_sep TransactionSynchronizationRegistry transactionSynchronizationRegistry concode_field_sep void putEntityManagerInTransactionRegistry