org.springframework.dao.InvalidDataAccessResourceUsageException: Cannot query [org.grails.Book] on non-existent property: description

GitHub | dpcasady | 3 months ago
  1. 0

    DetachedCriteria with junction on associated domain queries on the wrong domain

    GitHub | 3 months ago | dpcasady
    org.springframework.dao.InvalidDataAccessResourceUsageException: Cannot query [org.grails.Book] on non-existent property: description
  2. 0

    querying joda-time DateTime fields in Unit Specs fails

    GitHub | 2 months ago | peh
    org.springframework.dao.InvalidDataAccessResourceUsageException: Cannot query [joda.test.Person] on non-existent property: dateCreated
  3. 0

    Grails: Mocking criteria using user type field: org.springframework.dao.InvalidDataAccessResourceUsageException

    Stack Overflow | 1 year ago | Rogério Rodrigues de Alcântara
    org.springframework.dao.InvalidDataAccessResourceUsageException: Cannot query [com.foo.domain.FooDomain] on non-existent property: startAt
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InvalidDataAccessResourceUsageException when testing a service

    Stack Overflow | 4 months ago | Sebastien
    org.springframework.dao.InvalidDataAccessResourceUsageException: Cannot query [com.epseelon.atr.Flight] on non-existent property: departureDate
  6. 0

    Grails FindBy* with an inteface property

    Stack Overflow | 5 years ago | Eduardo Rodrigues
    org.springframework.dao.InvalidDataAccessResourceUsageException: Cannot query [br.com.fisgo.financial.Account] on non-existent property: owner

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.dao.InvalidDataAccessResourceUsageException

      Cannot query [org.grails.Book] on non-existent property: description

      at org.grails.datastore.mapping.simple.query.SimpleMapQuery.getValidProperty()
    2. Grails GORM
      SimpleMapQuery.executeQuery
      1. org.grails.datastore.mapping.simple.query.SimpleMapQuery.getValidProperty(SimpleMapQuery.groovy:751)
      2. org.grails.datastore.mapping.simple.query.SimpleMapQuery.executeSubQueryInternal(SimpleMapQuery.groovy:690)
      3. org.grails.datastore.mapping.simple.query.SimpleMapQuery.executeSubQuery(SimpleMapQuery.groovy:676)
      4. org.grails.datastore.mapping.simple.query.SimpleMapQuery.executeQuery(SimpleMapQuery.groovy:63)
      4 frames
    3. Grails GORM
      Query.singleResult
      1. org.grails.datastore.mapping.query.Query.list(Query.java:567)
      2. org.grails.datastore.mapping.query.Query.singleResult(Query.java:585)
      2 frames
    4. Grails GORM
      DetachedCriteria.withPopulatedQuery_closure10
      1. grails.gorm.DetachedCriteria.get_closure2(DetachedCriteria.groovy:853)
      2. grails.gorm.DetachedCriteria.withPopulatedQuery_closure10(DetachedCriteria.groovy:1248)
      2 frames
    5. Groovy
      Closure.call
      1. groovy.lang.Closure.call(Closure.java:414)
      2. groovy.lang.Closure.call(Closure.java:430)
      2 frames
    6. Grails GORM
      GormStaticApi.withDatastoreSession_closure23
      1. org.grails.datastore.gorm.GormStaticApi.withDatastoreSession_closure23(GormStaticApi.groovy:736)
      1 frame
    7. Groovy
      Closure.call
      1. groovy.lang.Closure.call(Closure.java:414)
      1 frame
    8. Grails GORM
      DatastoreUtils.execute
      1. org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:310)
      1 frame
    9. Grails GORM
      DetachedCriteria.get
      1. org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:37)
      2. org.grails.datastore.gorm.GormStaticApi.withDatastoreSession(GormStaticApi.groovy:735)
      3. org.grails.datastore.gorm.GormEntity$Trait$Helper.withDatastoreSession(GormEntity.groovy:895)
      4. grails.gorm.DetachedCriteria.withPopulatedQuery(DetachedCriteria.groovy:1219)
      5. grails.gorm.DetachedCriteria.get(DetachedCriteria.groovy:852)
      6. grails.gorm.DetachedCriteria.get(DetachedCriteria.groovy:851)
      6 frames