What is the difference between a session and a transaction in JPA 2.0?
You go to the bank to deposit 2 checks, and withdraw a small sum. So you stand in line until a teller opens. You make your first deposit. Then your second. Then you make your withdrawal. Now you’re done, you leave the teller line. Getting to the teller is like creating your session, now you’re … Read more