On Dec 8, 2006, at 11:29 AM, Abe White wrote:
Other than the cost of not having a cache (which is what I want), it is expensive to be creating a new EntityManager for each transaction?No.
In general, is it a good strategy to use a new EntityManager for each transaction?
I think it is great for testing, but I am concerned about having to write code two different ways, one for single node deployment and another way for a clustered deployment.
-dain