To tell EntityManager to use extended-scoped persistence context, we need to apply the type attribute of @PersistenceContext:
@PersistenceContext(type = Persisten