Hi

I'm using openjpa in some web service, ant let's say I've got three
operation that needs a EntityManager from the factory.
One solution is to create a new EntitymanagerFactory in each method and then
close it when the method ends, but maybe a better solution to have a static
initialize for the web service, but not sure how this will be with different
instances for the web service

Any tips on this?


Håkon
-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Reply via email to