JPA 2.1 specification section 3.10.8 Queries and Flush Mode states that "If there is no transaction active, the persistence provider must not flush to the database"