org.springframework.dao.InvalidDataAccessResourceUsageException: Cannot query [com.epseelon.atr.Flight] on non-existent property: departureDate

Stack Overflow | Sebastien | 4 months ago
  1. 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
  2. 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
  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

    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
  6. 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

    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 [com.epseelon.atr.Flight] on non-existent property: departureDate

      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.list
      1. org.grails.datastore.mapping.query.Query.list(Query.java:567)
      1 frame
    4. Grails GORM
      FindAllByFinder$1.doInSession
      1. org.grails.datastore.gorm.finders.FindAllByFinder.invokeQuery(FindAllByFinder.java:49)
      2. org.grails.datastore.gorm.finders.FindAllByFinder$1.doInSession(FindAllByFinder.java:43)
      2 frames
    5. Grails GORM
      DatastoreUtils.execute
      1. org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:310)
      1 frame
    6. Grails GORM
      GormEntity$Trait$Helper.staticMethodMissing
      1. org.grails.datastore.gorm.finders.AbstractFinder.execute(AbstractFinder.java:41)
      2. org.grails.datastore.gorm.finders.FindAllByFinder.doInvokeInternal(FindAllByFinder.java:40)
      3. org.grails.datastore.gorm.finders.DynamicFinder.invoke(DynamicFinder.java:157)
      4. org.grails.datastore.gorm.finders.DynamicFinder.invoke(DynamicFinder.java:357)
      5. org.grails.datastore.gorm.GormStaticApi.methodMissing(GormStaticApi.groovy:141)
      6. org.grails.datastore.gorm.GormEntity$Trait$Helper.staticMethodMissing(GormEntity.groovy:745)
      6 frames
    7. com.epseelon.atr
      FlightService.search_closure1
      1. com.epseelon.atr.FlightService.$tt__search(FlightService.groovy:11)
      2. com.epseelon.atr.FlightService.search_closure1(FlightService.groovy)
      2 frames
    8. Groovy
      Closure.call
      1. groovy.lang.Closure.call(Closure.java:414)
      2. groovy.lang.Closure.call(Closure.java:430)
      2 frames
    9. Grails
      GrailsTransactionTemplate$2.doInTransaction
      1. grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)
      1 frame
    10. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
      1 frame
    11. Grails
      GrailsTransactionTemplate.execute
      1. grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)
      1 frame