org.springframework.orm.jpa.JpaSystemException: !(x instanceof Integer); nested exception is <openjpa-2.2.2-SNAPSHOT-r422266:1462076 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: !(x instanceof Integer)
persistence.xml中加:
<property name="openjpa.Compatibility" value="StrictIdentityValues=false"/>