Fork me on GitHub
Dropwizard EntityManager

An add-on module for the popular Dropwizard RESTful web service framework that provides managed access to Hibernate JPA, along with support for @UnitOfWork transactions.

Versions

Latest release compatible with Dropwizard 1.0.0

  • Updated Dropwizard dependency to version 1.0.0
  • Upgraded to Hibernate 5.1.0.FINAL
  • Added the ability to serialize lazy loaded entity associations. _Lazy loaded entity associations are now serialized by default_
  • Added the ability to scan multiple packages for annotated entities
  • Distilled Javadoc down to public and protected classes/methods that developers will actually use
  • Added several breaking API changes:
    • Moved @UnitOfWork to `com.scottescue.dropwizard.entitymanager` package
    • Refactored `PersistenceUnitConfig` making it an interface with a builder style API
    • Replaced `EntityManagerBundle#createHibernate5Module` with `EntityManagerBundle#configure(Hibernate5Module)`
    • Restricted class and method visibility for some framework classes that were too visible

Latest release compatible with Dropwizard 0.9.3

  • Updated Dropwizard dependency to version 0.9.3

Latest release compatible with Dropwizard 0.9.2

  • Updated Dropwizard dependency to version 0.9.2
  • Added the ability to place @UnitOfWork annotations on non-resource methods

Latest release compatible with Dropwizard 0.9.1

  • Updated Dropwizard dependency to version 0.9.1

Latest release compatible with Dropwizard 0.9.0

  • Corrected Dropwizard dependency from version 0.9.1 to version 0.9.0

0.9.0-1

Warning - Do not use this release!


If you're using Dropwizard 0.9.0, you should upgrade to release 0.9.0-2

This release inadvertently depends on Dropwizard 0.9.1. This is a significant problem because this release was intended for use with Dropwizard 0.9.0.