解决Invalid derived query! No property find found for type XX的问题

用sts3.3.0+maven+jpa+jdk7好多地方报Invalid derived query! No property find found for type XX的错误,spring论坛上说是在3.3.0里面解决了这个bug,但是我用3.3.0还是有,

bbs上是说把window-->preference-->Spring -> Project Validators -> Data Validator -> Invalid Derived Query,去掉Invalid Derived Query这个勾就可以了,但是我去掉了还有,然后在方法上加上@Modifying重新编译下没有错误了,然后去掉@Modifying又没有错误了,好神奇。


解决地址:http://forum.spring.io/forum/spring-projects/springsource-tool-suite/128352-invalid-derived-query-no-property-delete-found-for-type-java-lang-object

你可能感兴趣的:(开发工具,Spring)