On Thu, Nov 12, 2009 at 11:26 AM, Cil-Gamir <[email protected]>wrote:

>    @Override
>    public EntityManager getEntityManager() {
>        if (entityManager == null) {
>            log.info("creating entitymanager");
>            entityManager =
>
> Persistence.createEntityManagerFactory("risk-rating-data-engine").createEntityManager();
>        }
>        return entityManager;
>    }
>
>
I see where you are creating your entity manager. Where do you close it?

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:[email protected]

Reply via email to