google / google/guice

Singleton EntityManager

Open
#686 0 comments 0 reactions 0 assignees View on GitHub
imported
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

_From [gontardd](https://code.google.com/u/101976167312916441390/) on February 21, 2012 10:35:21_

I am working on a desktop application and i am trying to use the jpa-persist module.

The provider configured by the JpaPersistModule creates an EntityManager per thread.

I want to have a single instance of the EntityManager in all the jvm. Is there a way to do that ?

Thanks.

_Original issue: http://code.google.com/p/google-guice/issues/detail?id=686_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.