'what is the use of @PersistenceContext?
In my project we use:-
@PersistenceContext(unitName="api-persistence-unit")
private EntityManager em;
but I am not aware about it's use.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
