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

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

It supports:

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

Currently not supported is:

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

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

Clone this wiki locally