Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Thread.run() has thrown an IllegalArgumentException
    Java Runtime
    0
    0
    0
  2. Property name mismatch
    Hibernate Core
    53
    9
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.hibernate.QueryException: could not resolve property: associatedProject of: com.hpe.dct.dpmr.Wave
    at org.hibernate.persister.entity.AbstractPropertyMapping.propertyException(AbstractPropertyMapping.java:83)
    at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:77)
    at org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1978)
    at org.hibernate.hql.internal.ast.tree.FromElementType.getPropertyType(FromElementType.java:367)
134 frames hidden

Solution

Mohd Salauddin2 months ago

In HQL queries you have to use the properties of the java class. E.g. if the entity class has property like lastName, use the same lastName in HQL , not last_name.

External results for this pattern (10)

  1. JWGmeligMeylingvia GitHub3 months ago
    could not resolve property: partner.id of: com.pallasathenagroup.entities.PartnerDiscountCode
    Show stack trace
  2. vlopezbovia GitHub3 months ago
    An unexpected error has occurred! We apologize any inconvenience. Please try again later. ea7b8f64-f440-42d9-8802-f8a8da1a908f:TechnicalError
    Show stack trace
  3. sdelamovia GitHub4 months ago
    could not resolve property: IUserID of: demo.AG2T0005UserProd
    Show stack trace
  4. Jorge Diazvia Liferay Issues4 months ago
    com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.QueryException: could not resolve property: barId of: com.example.model.impl.FooImpl [SELECT foo FROM com.example.model.impl.FooImpl foo WHERE foo.id.fooId = ? AND foo.groupId = ? ORDER BY foo.barId DESC]
    Show stack trace
  5. Pujan Shahvia Stack Overflow4 months ago
    could not resolve property: totalCount of: com.tsal.grms.dao.hibernate.entities.GrmsRequestInfo
    Show stack trace
  6. Rajeshvia Stack Overflow4 months ago
    could not resolve property: details.userProfile.type of: sg.com.ctc.eportal.core.entity.Access
    Show stack trace
  7. gene b.via Stack Overflow4 months ago
    could not resolve property: ID of: USER_T
    Show stack trace
  8. Cichyvia Stack Overflow4 months ago
    could not resolve property: id.player.name of: pl.andrzejcichon.criterionlazydatamodel.entities.Performance
    Show stack trace
  9. Etienne Morency-Bachand [X]via JIRA4 months ago
    could not resolve property: valueSetValue of: org.obiba.magma.datasource.hibernate.domain.ValueSetBinaryValue [delete from org.obiba.magma.datasource.hibernate.domain.ValueSetBinaryValue bv where bv.valueSetValue.id in (select vsv.id from org.obiba.magma.datasource.hibernate.domain.ValueSetValue vsv where vsv.valueSet.id in (select vs.id from org.obiba.magma.datasource.hibernate.domain.ValueSetState vs where vs.valueTable.id = :valueTableId))]
    Show stack trace