Closing EntityManagers when appropriate (that is a non-trivial design
decision) by application is preferred to depending on garbage collectors
non-deterministic behavior.

However, please note that database error code DSRA0010E signify some sort of
authentication problem. The observed error may be arising from issues
unrelated to closing of EntityManagers.
  
-- 
View this message in context: 
http://www.nabble.com/EntityManager-lifecycle-and-garbage-collection-tp14790206p14808462.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to