Witold Koszulinski

Greenhorn
+ Follow
since Aug 12, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Witold Koszulinski

You got an exception because your are not sharing the same persistence context.

Witold
Hi,

I would like to recommend two excellent books:
Beginning Java EE 6 Platform with GlassFish 3 From Novice to Professional by Antonio Goncalves, Apress
Pro JPA 2 Mastering the Java Persistence API by Mike Keith and Merrick Schincariol, Apress.

Regards
Witold
Hi Jothi,

There are two container-managed entity managers. The first one is transaction-scoped entity manager and the second one is extended entity manager. Both described on page 112 and on page 113. There is also application-managed entity manager described on page 117.

Regards
Witold