org.hibernate.QueryException: could not resolve property: class of: hibernatetypeissue.Leaf [select l from hibernatetypeissue.Leaf l where TYPE(l.tree) = PineTree]

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 Hibernate JIRA by Bob, 1 year ago
could not resolve property: class of: hibernatetypeissue.Leaf [select l from hibernatetypeissue.Leaf l where TYPE(l.tree) = PineTree]
via Hibernate JIRA by Bob, 1 year ago
could not resolve property: class of: hibernatetypeissue.Leaf [select l from hibernatetypeissue.Leaf l where TYPE(l.tree) = PineTree]
via Stack Overflow by liwevire
, 3 months ago
could not resolve property: Loan of: model.core.Transaction[select lo from model.core.Transaction tr join tr.Loan lo on lo.loanId = tr.Loan.loanId where lo.loan_status = 'open' and category = 'principal' and date >= :fromDate and date <= :toDate order by date asc]
via Stack Overflow by polygox
, 1 year ago
via Stack Overflow by Giuliano
, 1 year ago
could not resolve property: perfil_id of: com.giulianok.person.Person [SELECT p FROM com.giulianok.person.Person p WHERE p.perfil_id=?1]
via Stack Overflow by Argamidon
, 2 years ago
could not resolve property: books of: com.company.entities.Task [select o from Book b join b.owner o where b = :b]
org.hibernate.QueryException: could not resolve property: class of: hibernatetypeissue.Leaf [select l from hibernatetypeissue.Leaf l where TYPE(l.tree) = PineTree]
at org.hibernate.QueryException.generateQueryException(QueryException.java:137)
at org.hibernate.QueryException.wrapWithQueryString(QueryException.java:120)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:234)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:131)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:93)
at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167)
at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161)
at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090)
at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:536)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850)
at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849)
at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:75)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
8 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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