spring jpa2 x instanceof Integer

 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"/>

你可能感兴趣的:(spring,Integer,instanceof,X,jpa2)