org.hibernate.QueryException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • simple question
    via by Dura Hurtado,
  • hql where clause
    via by 807606,
    • org.hibernate.QueryException: could not resolve property: premise of: com.splwg.domain.customerinfo.premise.PremiseGeographicLocation__ [select pgl.geographicValue from com.splwg.domain.customerinfo.p remise.PremiseGeographicLocation__ pgl where pgl.premise.id=:premiseId and pgl.geographicType.id=:pgeocd] at org.hibernate.persister.entity.AbstractPropertyMapping.propertyException(AbstractPropertyMapping.java:44) at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:38) at org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1358) at org.hibernate.hql.classic.PathExpressionParser.getPropertyType(PathExpressionParser.java:269) at org.hibernate.hql.classic.PathExpressionParser.token(PathExpressionParser.java:150) at org.hibernate.hql.classic.WhereParser.doPathExpression(WhereParser.java:347) at org.hibernate.hql.classic.WhereParser.doToken(WhereParser.java:382) at org.hibernate.hql.classic.WhereParser.token(WhereParser.java:263) at org.hibernate.hql.classic.ClauseParser.token(ClauseParser.java:86) at org.hibernate.hql.classic.PreprocessingParser.token(PreprocessingParser.java:108) at org.hibernate.hql.classic.ParserHelper.parse(ParserHelper.java:28) at org.hibernate.hql.classic.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:216) at org.hibernate.hql.classic.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:185) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623) at com.splwg.base.support.impl.QueryImpl.createHibernateQuery(QueryImpl.java:410) at com.splwg.base.support.impl.QueryImpl.createNormalHibernateQuery(QueryImpl.java:428) at com.splwg.base.support.impl.QueryImpl.getHibernateQuery(QueryImpl.java:355) at com.splwg.base.support.impl.QueryImpl.iterate(QueryImpl.java:217) at com.splwg.base.support.impl.QueryImpl.firstRow(QueryImpl.java:235) at com.splwg.cm.domain.cmbills.CMBILLNO_Impl.invoke(CMBILLNO_Impl.java:66) at com.splwg.cm.domain.cmbills.CMBILLNO_Impl__.CGLIB$invoke$0(<generated>) at com.splwg.cm.domain.cmbills.CMBILLNO_Impl__$$FastClassByCGLIB$$2209fd3f.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167) at com.splwg.base.support.interception.BusinessMethodInterceptor.intercept(BusinessMethodInterceptor.java:84) at com.splwg.cm.domain.cmbills.CMBILLNO_Impl__.invoke(<generated>) at com.splwg.base.support.algorithm.AbstractFromCobolAlgorithmWrapper.invoke(AbstractFromCobolAlgorithmWrapper.java:42) at com.splwg.ccb.domain.admin.customerClass.CustomerClassBillSegmentFreezeOrCancelAlgorithmFromCobolWrapper_Gen.invoke(CustomerClassBillSegmentFreezeOrCancelAlgorithmFromCobolWrapper_Gen.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597)

    Users with the same issue

    slash
    13 times, last one,
    derprogger
    2 times, last one,
    tvrmsmith
    11 times, last one,
    tomthomas
    3 times, last one,
    DoktorDoener666
    1 times, last one,
    6 more bugmates