-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: java.lang.NoSuchMethodError: org/hibernate/hql/antlr/HqlBase
PostPosted: Fri Jul 10, 2009 3:23 pm 
Newbie

Joined: Mon Jun 08, 2009 2:00 pm
Posts: 2
Hi,

This is my Query

Code:
String trkgCD = "ROO";
StringBuffer qBuffer = new StringBuffer();

qBuffer.append("Select licnseNbr, centerNam from ColtsApplication where centerStatCd = ? ");
qBuffer.append("and (month(licnRnwlDueDte) '=' month(current date) '+' 2) ");
qBuffer.append("and (year(licnRnwlDueDte) '=' year(current date) ");
qBuffer.append("and (day(licnRnwlDueDte) '=' day(current date) ");
      
result1 = this.getHibernateTemplate().find(qBuffer.toString(), trkgCD);


My exception:
Code:
Caused by: java.lang.NoSuchMethodError: org/hibernate/hql/antlr/HqlBaseParser.recover(Lantlr/RecognitionException;Lantlr/collections/impl/BitSet;)V
   at org.hibernate.hql.antlr.HqlBaseParser.primaryExpression(HqlBaseParser.java:1053)
   at org.hibernate.hql.antlr.HqlBaseParser.atom(HqlBaseParser.java:3438)
   at org.hibernate.hql.antlr.HqlBaseParser.unaryExpression(HqlBaseParser.java:3216)
   at org.hibernate.hql.antlr.HqlBaseParser.multiplyExpression(HqlBaseParser.java:3098)
   at org.hibernate.hql.antlr.HqlBaseParser.additiveExpression(HqlBaseParser.java:2818)
   at org.hibernate.hql.antlr.HqlBaseParser.concatenation(HqlBaseParser.java:570)
   at org.hibernate.hql.antlr.HqlBaseParser.relationalExpression(HqlBaseParser.java:2586)
   at org.hibernate.hql.antlr.HqlBaseParser.equalityExpression(HqlBaseParser.java:2449)
   at org.hibernate.hql.antlr.HqlBaseParser.negatedExpression(HqlBaseParser.java:2413)
   at org.hibernate.hql.antlr.HqlBaseParser.logicalAndExpression(HqlBaseParser.java:2331)
   at org.hibernate.hql.antlr.HqlBaseParser.logicalOrExpression(HqlBaseParser.java:2296)
   at org.hibernate.hql.antlr.HqlBaseParser.expression(HqlBaseParser.java:2082)
   at org.hibernate.hql.antlr.HqlBaseParser.expressionOrVector(HqlBaseParser.java:4181)
   at org.hibernate.hql.antlr.HqlBaseParser.primaryExpression(HqlBaseParser.java:944)
   at org.hibernate.hql.antlr.HqlBaseParser.atom(HqlBaseParser.java:3438)
   at org.hibernate.hql.antlr.HqlBaseParser.unaryExpression(HqlBaseParser.java:3216)
   at org.hibernate.hql.antlr.HqlBaseParser.multiplyExpression(HqlBaseParser.java:3098)
   at org.hibernate.hql.antlr.HqlBaseParser.additiveExpression(HqlBaseParser.java:2818)
   at org.hibernate.hql.antlr.HqlBaseParser.concatenation(HqlBaseParser.java:570)
   at org.hibernate.hql.antlr.HqlBaseParser.relationalExpression(HqlBaseParser.java:2586)
   at org.hibernate.hql.antlr.HqlBaseParser.equalityExpression(HqlBaseParser.java:2449)
   at org.hibernate.hql.antlr.HqlBaseParser.negatedExpression(HqlBaseParser.java:2413)


What could be wrong in the query?
It works perfectly fine in the DB2 database.

Please help me.


Top
 Profile  
 
 Post subject: Re: java.lang.NoSuchMethodError: org/hibernate/hql/antlr/HqlBase
PostPosted: Wed Sep 15, 2010 7:25 am 
Newbie

Joined: Mon Sep 13, 2010 1:55 pm
Posts: 4
hi, did you manage to fix this issue as i am having the same issue


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.