org.springframework.dao.InvalidDataAccessResourceUsageException

Queries of type NotIn are not supported by this implementation

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

Stack trace

  • org.springframework.dao.InvalidDataAccessResourceUsageException: Queries of type NotIn are not supported by this implementation at org.grails.datastore.mapping.query.jpa.JpaQueryBuilder.buildWhereClauseForCriterion(JpaQueryBuilder.java:763) at org.grails.datastore.mapping.query.jpa.JpaQueryBuilder$3.handle(JpaQueryBuilder.java:292) at org.grails.datastore.mapping.query.jpa.JpaQueryBuilder.buildWhereClauseForCriterion(JpaQueryBuilder.java:749) at org.grails.datastore.mapping.query.jpa.JpaQueryBuilder.buildWhereClause(JpaQueryBuilder.java:717) at org.grails.datastore.mapping.query.jpa.JpaQueryBuilder.buildUpdate(JpaQueryBuilder.java:128) at org.codehaus.groovy.grails.orm.hibernate.HibernateSession$2.doInHibernate(HibernateSession.java:125) at org.codehaus.groovy.grails.orm.hibernate.HibernateSession$2.doInHibernate(HibernateSession.java:121) at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:341) at org.codehaus.groovy.grails.orm.hibernate.HibernateSession.updateAll(HibernateSession.java:121) at grails.gorm.DetachedCriteria.updateAll_closure8(DetachedCriteria.groovy:927) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) at groovy.lang.Closure.call(Closure.java:423) at groovy.lang.Closure.call(Closure.java:439) at org.grails.datastore.gorm.GormStaticApi.withDatastoreSession_closure23(GormStaticApi.groovy:700) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) at groovy.lang.Closure.call(Closure.java:423) at org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:302) at org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:37) at org.grails.datastore.gorm.GormStaticApi.withDatastoreSession(GormStaticApi.groovy:699) at grails.gorm.DetachedCriteria.updateAll(DetachedCriteria.groovy:926)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.