I am having some doubts for my current project in J2SE (Swing). There are two questions involved the use of JPA (Toplink) to the relevant tutorials gave none or only contradictory answers.
I need your help. Please help me immediately.
- If EntityManager usually 1x per application or when required, that is instantiated multiple times?
- The difference between persist () and merge () is where I clear but is also the exclusive use of function merge (). Is that really so or there are counter-arguments?
Bookmarks