Skip to content

Singleton EntityManager #686

@gissuebot

Description

@gissuebot

From gontardd 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions