I have a simple question to ask regarding JPA's CriteriaQuery-based queries? I noticed in the Java EE examples (http://docs.oracle.com/javaee/6/tutorial/doc/giqsq.html) that
entityManager.getTransaction().begin()
and
entityManager.getTransaction().commit()
are not used.
As a result, is it true that these operations are implicitly handled by the CriteriaQuery when the query is made?