org.hibernate.QueryException: could not resolve property: IDFest of: entities.Day [from entities.Day as d where d.IDFest = 27 and not exists ( from tickets t where t.IDUser = 1 and t.IDFest = 27 ) ]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by ldragicevic
, 9 months ago
could not resolve property: IDFest of: entities.Day [from entities.Day as d where d.IDFest = 27 and not exists ( from tickets t where t.IDUser = 1 and t.IDFest = 27 ) ]
via Stack Overflow by Newbie
, 5 months ago
outer or full join must be followed by path expression [select SUM(amount) from com.challenge.pojo.Expense INNER JOIN User ON Expense.user_id = User.id AND user.username ='sarvam' WHERE created >= curdate() - INTERVAL DAYOFWEEK(curdate())+1 DAY AND created < curdate() - INTERVAL DAYOFWEEK(curdate())-1 DAY]
via Stack Overflow by Switcher05
, 1 year ago
unexpected token: as [from Tickets as t where t.inplay = true and t.bin < 30 ORDER BY t.bin ASC]
via Stack Overflow by Amila Iddamalgoda
, 2 years ago
query must begin with SELECT or FROM: update [ update com.shop.domain.User set registered = '1' where user_activation_key = '04c42f1c-a55d-49cd-8bde-8d340f054d76']
org.hibernate.QueryException: could not resolve property: IDFest of: entities.Day [from entities.Day as d where d.IDFest = 27 and not exists ( from tickets t where t.IDUser = 1 and t.IDFest = 27 ) ]
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.classic.PathExpressionParser.getPropertyType(PathExpressionParser.java:291)
at org.hibernate.hql.internal.classic.PathExpressionParser.end(PathExpressionParser.java:334)
at org.hibernate.hql.internal.classic.WhereParser.doPathExpression(WhereParser.java:371)
at org.hibernate.hql.internal.classic.WhereParser.doToken(WhereParser.java:404)
at org.hibernate.hql.internal.classic.WhereParser.token(WhereParser.java:285)
at org.hibernate.hql.internal.classic.ClauseParser.token(ClauseParser.java:107)
at org.hibernate.hql.internal.classic.PreprocessingParser.token(PreprocessingParser.java:131)
at org.hibernate.hql.internal.classic.ParserHelper.parse(ParserHelper.java:61)
at org.hibernate.hql.internal.classic.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:239)
at org.hibernate.QueryException.wrapWithQueryString(QueryException.java:120)
at org.hibernate.hql.internal.classic.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:247)
at org.hibernate.hql.internal.classic.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:209)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:126)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:88)
at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:190)
at org.hibernate.internal.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:301)
at org.hibernate.internal.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:236)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 month ago
8 times, 11 months ago
50 times, 8 months ago
Once, 4 months ago
13 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.