remove <property name="eclipselink.persistence-context.flush-mode" value="commit"/> from PersistenceGen.xml.ftl

...ommit/> from PersistenceGen.xml.ftl