Merge pull request #1140 from ChaoPang/master

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