put back <property name=eclipselink.persistence-context.flush-mode value=commit/>
Merge pull request #1141 from ChaoPang/master

put back <property name="eclipselink.persistence-context.flush-mode" value="commit"/>