Skip to content
sclassen edited this page Jan 4, 2013 · 10 revisions

The official guice extension guice-persist allows to configure and inject a persistence unit into your classes. Guice-persist asumes that only one peristence unit is used in an application and that this peristence unit is application managed. guice-jpa overcomes this shortcoming.

It supports:

  • multiple peristence units
  • application manged and container managed persistence units
  • resourec local and JTA transactions.

Currently not supported is:

  • @Finder annotation
  • Mixing annotated and non annotated peristence units.

Interested? Read more Or get your copy of guice-jpa from maven central

Clone this wiki locally