O'Reilly logo

Pivotal Certified Professional Spring Developer Exam: A Study Guide by Iuliana Cosmina

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

  • Persistence Context: a context containing a set of domain objects/entities in which for every persistent entity there is a unique entity instance.
  • Entity Manager: as the name clearly states, such an object will manage entities, will take care of creation, update, querying, deletion. Entity Manager classes must extend javax.persistence.EntityManager, and instances are associated with a persistence context by annotating them with @PersistenceContext. Usually, these instances’ life cycles are bound to the transaction in which the method is being executed, so they are managed by the container (in our case, the Spring container).
  • Entity Manager Factory: again, the naming is very relevant for the purpose of such an object. Entity Manager Factory beans ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required