1. org.hibernate.hql.ast.QuerySyntaxError: unexpected token: or forum.hibernate.orgNewbie Joined: Fri Apr 30, 2010 5:17 pm Posts: 9 Can anyone tell me why the query in this statement would give me a QuerySyntaxError? The objection seems to be related to my use of or. All the variables within the text are String variables. I've also included the full exception report. Code: Query query = session.createQuery("from employment e where e.jobtitle ... |
2. org.hibernate.hql.ast.ErrorCounter , unexpected token forum.hibernate.orgI have a hql query which works perfectly for everything except for one specific sutuation, which in my view doesn't differ from the others. And I don't know why this is happening. I have a WHILE doing some retrieving inside it, the first pass goes ok, then the next one gives the error, I debuged and this happens right when I ... |
3. at org.hibernate.hql.ast.tree.IdentNode.resolveAsNakedCompon forum.hibernate.org |
4. Problem with org.hibernate.hql.ast.ASTQueryTranslatorFactory forum.hibernate.orgHi, My application generates bug when I use org.hibernate.hql.ast.ASTQueryTranslatorFactory. The exception is Code: org.hibernate.QueryException: could not resolve property: bholding of: com.bholding.model.domain.Company [SELECT count(*) FROM com.bholding.model.domain.Company AS com WHERE com.name_fr = 'TMASOLUTION' AND com.comId IN(SELECT ad.company FROM com.bholding.model.domain.Address AS ad WHERE upper(ad.street) like '%ALBERT%' )] at org.hibernate.persister.entity.AbstractPropertyMapping.throwPropertyException(AbstractPropertyMapping.java:43) at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:37) at org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1265) ... |
5. java.lang.StackOverflowError at org.hibernate.hql.ast.util. forum.hibernate.orgAuthor Message lkanth Post subject: java.lang.StackOverflowError at org.hibernate.hql.ast.util. Posted: Wed Jul 29, 2009 6:19 am Newbie Joined: Wed Jul 29, 2009 5:23 am Posts: 2 I am getting java.lang.StackOverflowError at org.hibernate.hql.ast.util.NodeTraverser.visitDepthFirst(NodeTraverser.java:40) can any one help me plzzz it is very urgent. Scenario: I have 17k records . while updating first i need to update with i_... in an column ... |