Is there a stateless version of the JPA EntityManager?

entitymanager, java, jpa, stateless

Solution

Not part of the JPA API or spec. Individual implementations may allow disabling the L1 cache. DataNucleus JPA, the one I have used, does allow this

Problem

Hibernate has a Stateless Version of its Session: Does something similar exist for the JPA EntityManager? I.e. an EntityManager that does not use the first level cache?

Original source