posted 15 years ago
JPA Spec
3.1.1 EntityManager Interface
P.47
The methods close, isOpen, joinTransaction, and getTransaction are used to manage application-managed entity managers and their lifecycle.
Also If you only need to find the answer not the explanation, You can easily use elimination technique.
You must know the functionality of remove, refresh, getReference methods. neither is used to control the life cycle of em, then we can eliminate all 3. So answer is joinTransaction.
[ December 10, 2008: Message edited by: Chaminda Amarasinghe ]